aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/i1765.scala
Commit message (Collapse)AuthorAgeFilesLines
* Fix insertAfterMartin Odersky2016-12-021-0/+21
Once the context-bounds desugaring of i1765.scala was fixed, another problem came up: We hit an invalid denotation due to some interaction between mixin and memoize. It turned out that `insertInsteadOf` did not do what its doc comment claimed: it did not store a forwarding pointer `nextInRun` in the overwritten denotation. Once that was fixed we also needed to fix a follow-on erorr that now we could have chains of invalid denotations linked by `nextInRun`.