aboutsummaryrefslogtreecommitdiff
path: root/tests/run/i1820.scala
Commit message (Collapse)AuthorAgeFilesLines
* Fix #1820: condition of whether generates outerliu fengyun2016-12-191-2/+2
| | | | | | | | | | | | | | | | | | Previously, we don't generate `outer` for the anonymous class `new Inner2 {}`. This is incorrect, as `Inner2 {}` extends `A.Inner`, which requires an outer. trait A { val a = "a" trait Inner { def f = println(a) def h = 3 } } trait B extends A { trait Inner2 extends Inner new Inner2 {} }
* fix #1820: make sure outer of traits implementedliu fengyun2016-12-181-0/+17