-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New givens syntax does no logger accepts valid given defintions #21768
Labels
area:implicits
related to implicits
area:parser
itype:bug
regression
This worked in a previous version but doesn't anymore
Comments
cc @odersky |
KacperFKorban
pushed a commit
to dotty-staging/dotty
that referenced
this issue
Nov 20, 2024
…w line (scala#21957) Fixes scala#21768 Fixes usages of `with {...}` and `= new {}` declarations presented in tests.
KacperFKorban
pushed a commit
to dotty-staging/dotty
that referenced
this issue
Nov 29, 2024
…w line (scala#21957) Fixes scala#21768 Fixes usages of `with {...}` and `= new {}` declarations presented in tests.
tgodzik
pushed a commit
to scala/scala3-lts
that referenced
this issue
Feb 19, 2025
…w line (scala#21957) Fixes scala#21768 Fixes usages of `with {...}` and `= new {}` declarations presented in tests.
tgodzik
added a commit
to scala/scala3-lts
that referenced
this issue
Feb 19, 2025
…w line (scala#21957) Fixes scala#21768 Fixes usages of `with {...}` and `= new {}` declarations presented in tests. [Cherry-picked 7644ecd][modified]
tgodzik
added a commit
to scala/scala3-lts
that referenced
this issue
Feb 19, 2025
…w line (scala#21957) Fixes scala#21768 Fixes usages of `with {...}` and `= new {}` declarations presented in tests. [Cherry-picked 7644ecd][modified]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area:implicits
related to implicits
area:parser
itype:bug
regression
This worked in a previous version but doesn't anymore
Based on OpenCB failure in
jphmrst/scala-automata
- build logsAffects also:
rssh/cps-async-connect
- build logsThe new givens syntax and its changes to the parser no longer accept valid old (pre 3.6.0) givens syntax, in cases when type of the type-class is moved to the next line. It's a common issue that might be introduced by automatic code formatters when dealing with long names or signatures of given.
Compiler version
Last good release: 3.6.0-RC1-bin-20241003-a672e05-NIGHTLY
First bad release: 3.6.0-RC1-bin-20241005-6fa81cf-NIGHTLY
Bisect points to: 14acdc0
Minimized code
Output
Workaround
Compile with
-source:3.5
Expectation
It should compile and be parsable until deprecating the old syntax.
The text was updated successfully, but these errors were encountered: