inappropriate cyclic aliasing #9568
Labels
fixed in Scala 3
This issue does not exist in the Scala 3 compiler (https://github.com/lampepfl/dotty/)
typer
Milestone
I catch strange type checker behavior that produce type error from nowhere.
The snipped produce following error:
I could not reduce the example further. Small changes miraculously cure the code and it compiles. I gave two examples as comments. Small change i => i with i => i + 1 make type checker happy.
The text was updated successfully, but these errors were encountered: