Update scalameta to support new given syntax (SIP-64)#22921
Update scalameta to support new given syntax (SIP-64)#22921jberkel wants to merge 3 commits intopantsbuild:mainfrom
Conversation
|
Looks like this is already being addressed in #22767 |
|
Yeah, and as I mentioned over there - I'm working on Dependabotting some of it, so the PR might linger. But thanks for this one! Once we come up with some reasonable approach, we can close both of these PRs at the same time. |
|
No worries, I'm manually overriding the dependencies for now in |
|
Thanks for the contribution. We've just branched for 2.31.x, so merging this pull request now will come out in 2.32.x, please move the release notes updates to docs/notes/2.32.x.md if that's appropriate. |
The new
givensyntax as described in SIP-64 has been released as non-experimental in the Scala 3.6.x series. The default version of scalameta used in pants doesn't support this syntax yet, so you'll get compile errors during the dependency analysis stage (which is also very confusing, since a user might assume it happened during the compilation stage).This PR updates
scalametato a more recent version which supports this syntax.Failing test case (without the scalameta update):