aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/i2117.scala
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug in typechecking super prefix with invalid enclosing classAbel Nieto2017-03-171-0/+3
When typechecking class A { C.super.foo() } If C isn't an enclosing class, the compiler was throwing because of an unguarded pattern match. Fix the issue by checking for ErrorType. Tested: Verified that the example above no longer throws. Added a test.