!SoEcwMwiYQRtGcKNvD:matrix.org

scalameta/scalameta

431 Members
Discord bridge for scalameta/scalameta3 Servers

Load older messages


SenderMessageTime
22 May 2024
@_discord_1240667701685387370:t2bot.iorohith_02_image.png
Download image.png
05:52:24
@_discord_392428121342869534:t2bot.ioTomasz Godzik The message shows up when we don't detect any information about the file. You can change the default in the settings, but for sure it will not solve all the problems. Did you import the build? You might want to run it again and show if there are any errors 07:33:14
@_discord_392428121342869534:t2bot.ioTomasz Godzik You can do it via a command or in the metals view 07:33:45
@_discord_1240667701685387370:t2bot.iorohith_02_ That file is from a external JAR. Yes, I had imported the build, it was successful and the compilation was also done. I'm able to access that file, but my concern here is, how can I make the presentation compiler to use scala 2.12.18 instead of 3.3.3? Can you guide me on that? 07:39:07
@_discord_392428121342869534:t2bot.ioTomasz Godzik Interesting, we usually infer the Scala version from the jar path, so that should be fixable for now it VS Code setting you can use "metals.fallbackScalaVersion": "2.13.13", 07:43:54
@_discord_392428121342869534:t2bot.ioTomasz Godzik setting 07:43:57
@_discord_1240667701685387370:t2bot.iorohith_02_image.png
Download image.png
07:57:18
@_discord_1240667701685387370:t2bot.iorohith_02_Screenshot_2024-05-22_at_13.23.42.png
Download Screenshot_2024-05-22_at_13.23.42.png
07:57:19
@_discord_1240667701685387370:t2bot.iorohith_02_ Updated the version and also restarted Bloop. It's still showing that the project's scala-library is 3.3.3. 07:57:19
@_discord_392428121342869534:t2bot.ioTomasz Godzik Looks like the setting is not properly propagated 🤔 This is right next to each other 08:00:14
@_discord_392428121342869534:t2bot.ioTomasz Godzik also, is there any Scala 3 at all in your project? 08:00:40
@_discord_1240667701685387370:t2bot.iorohith_02_ I have searched for Scala 3 in the entire project and I don't see anything. 08:02:03
@_discord_1240667701685387370:t2bot.iorohith_02_ Is there any command to check from where it's fetching that 3.3.3 version ? 08:19:32
@_discord_392428121342869534:t2bot.ioTomasz Godzik Could you try and run the metals doctor? It should show all targets that metals sees 08:23:36
@_discord_1240667701685387370:t2bot.iorohith_02_Screenshot_2024-05-22_at_13.57.13.png
Download Screenshot_2024-05-22_at_13.57.13.png
08:29:09
@_discord_1240667701685387370:t2bot.iorohith_02_ Here you go. There are two buid targets here. One is for the main and one is for the test 08:29:09
@_discord_843896430917320714:t2bot.ioim_bharadwajj joined the room.08:54:35
@_discord_392428121342869534:t2bot.ioTomasz Godzik That looks correct 🤔 it should use scala 2.12.18 as a fallback 09:30:29
@_discord_1240667701685387370:t2bot.iorohith_02_ Pretty much confused on why this is happening. What could be the possible resolution?
I'm not using sbt build, i'm sticking with Maven itself. Does changing to sbt makes any impact?
10:35:36
@_discord_392428121342869534:t2bot.ioTomasz Godzik Everything seems correct aside from the version being picked for the library, which should be 2.12.18 10:50:21
@_discord_392428121342869534:t2bot.ioTomasz Godzik This happens only in dependencies though? 10:50:42
@_discord_1240667701685387370:t2bot.iorohith_02_ only with that specific dependency. 10:51:55
@_discord_392428121342869534:t2bot.ioTomasz Godzik is that a public dependency? 10:52:33
@_discord_1240667701685387370:t2bot.iorohith_02_ it's a private one 10:58:01
@_discord_1240667701685387370:t2bot.iorohith_02_ not developed by me, but I do have access to that. 10:58:25
@_discord_264506688877494282:t2bot.iodos65 joined the room.11:42:29
@_discord_392428121342869534:t2bot.ioTomasz Godzik looks like maybe I can reproduce the issue, will take a look 13:21:08
@_discord_1240667701685387370:t2bot.iorohith_02_ Sure. Thank you! 14:35:02
23 May 2024
@_discord_740839976169898074:t2bot.ioazaad1789 joined the room.06:53:13
@_discord_1240667701685387370:t2bot.iorohith_02_image.png
Download image.png
08:32:26

Show newer messages


Back to Room ListRoom Version: 9