Regression in rssh/dotty-cps-async - overload of experimental method #18414
Labels
area:experimental
area:typer
itype:bug
regression
This worked in a previous version but doesn't anymore
source-incompatibility
Fixing a bug caused some erronous code to stop compiling. Should be mentioned in the release notes.
Based on OpenCB failure in rssh/dotty-cps-async build logs
Since Scala 3.3.1-RC1 we define overloaded versions of
defn.FunctionClass
which are marked as experimental. The previous method is going to be deprecated in 3.4. However, for the 3.3.x LTS line the source compatibilty is broken when using stable versions of the compiler or when using-Yno-experimental
flag.Compiler version
Since 3.3.1-RC1
After merge of 9571b42
Minimized code
Output
Expectation
Can we force typer to use non-experimental variant of overloaded function under no-experimental flag (or in stable release)?
The text was updated successfully, but these errors were encountered: