Segfault when calling super at top-level with no arguments.

If enclosingClass is null, we can't proceed with compilation since we don't have its name.
This commit is contained in:
Kyle Marek-Spartz
2015-01-09 15:14:06 -06:00
parent aa48223361
commit 3490c8d2f3
2 changed files with 20 additions and 19 deletions

View File

@ -1 +1,2 @@
super.foo // expect error
super // expect error