Commit c9309e7
authored
- Code is legit and should work.
- The error was indeed present in `3.1.3` and not present anymore:
```scala
exception occurred while compiling test.scala
java.lang.AssertionError: assertion failed: method $anonfun while compiling test.scala
Exception in thread "main" java.lang.AssertionError: assertion failed: method $anonfun
at scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:8)
at dotty.tools.dotc.core.tasty.TreePickler.pickleDef(TreePickler.scala:324)
at dotty.tools.dotc.core.tasty.TreePickler.pickleTree(TreePickler.scala:559)
at dotty.tools.dotc.core.tasty.TreePickler.pickleTree$$anonfun$9$$anonfun$1(TreePickler.scala:468)
```
Closes #15786
1 parent 051848e commit c9309e7
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments