You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use in implicit inline method for instance generation, and you return an anonymous instance, which has a lambda in one of its methods implementation, then an assertion error is thrown.
[error] Total time: 1 s, completed 15:17:31 25/01/2019
java.lang.AssertionError: assertion failed: private method $anonfun in object Main in C:\vscode\dotty\crash\main\src\main\scala\Main.scala accessed from method run in C:\vscode\dotty\crash\main\src\main\scala\Exec.scala while compiling C:\vscode\dotty\crash\main\src\main\scala\Exec.scala, C:\vscode\dotty\crash\main\src\main\scala\Main.scala
If you use in implicit inline method for instance generation, and you return an anonymous instance, which has a lambda in one of its methods implementation, then an assertion error is thrown.
Example:
Exec.scala
Main.scala
And it crashes with:
If we were to change
to
It works.
It works as well if we move the two sources to the same file.
The text was updated successfully, but these errors were encountered: