aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/i1050a.scala
Commit message (Collapse)AuthorAgeFilesLines
* Big realizability refactoringMartin Odersky2016-02-091-4/+5
| | | | | | | Move logic from TypeOps to new file CheckRealizable.scala. Also check realizable fields under strict mode. Check at phase PostTyper rather than Typer to avoid cycles. New tests for imports and deep paths.
* Only final lazy vals can be paths.Martin Odersky2016-02-091-0/+29
Reason: They might be overridden by other lazy vals that are not realizable, and therefore risk creating bad bounds.