Commit ddc4eb8
committed
Fix bug when restoring denotations in Recheck.
Need to copy the denotation, since denotations come with next pointers
which would get scrambled otherwise. The bug was observed when compiling stdlib
under new capture checking implementation.
# Conflicts:
# compiler/src/dotty/tools/dotc/transform/Recheck.scala1 parent 56eb2d8 commit ddc4eb8
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
| 157 | + | |
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
| |||
0 commit comments