Commit 409a9f5
committed
Scala2Unpickler: fix symbol entering inside refinement classes
`finishSym` contains a few conditions determining when a symbol should
not be entered into scope, but these were not checked when the owner of
the symbol is a refinement class. When compiling stainless this lead to
a compiler crash because of a refinement type containing another
refinement type.1 parent 3100b7c commit 409a9f5
File tree
1 file changed
+7
-10
lines changed- compiler/src/dotty/tools/dotc/core/unpickleScala2
1 file changed
+7
-10
lines changedLines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
480 | 477 | | |
481 | 478 | | |
482 | 479 | | |
| |||
0 commit comments