aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/explicitOuter.scala
Commit message (Collapse)AuthorAgeFilesLines
* Better tests and more fixes for ExplicitOuterMartin Odersky2014-09-061-0/+14
| | | | | | Now also testing that after erasure no outer this exists. Tests suit now includes calls to local classes and methods which need an outer pointer, as well as passing an outer pointer along a secondary constructor.
* Add outer parameters in constructor calls.Martin Odersky2014-08-311-6/+6
| | | | | 1) Constructors of inner classes get outer parameters 2) Outer arguments are passed as needed.
* New phase: outerAccessorsMartin Odersky2014-08-311-0/+48
The new phase replaces attachOuter. It creates outer accessors where needed but does not yet define outer parameters or pass outer arguments. It should run before pattern matcher, so that pattern matcher can access the outer fields of scrutinees.