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
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: