Don't allow "super" outside of methods.

This commit is contained in:
Bob Nystrom
2013-12-15 22:08:40 -08:00
parent 5fb2d5af71
commit 70e548657e
3 changed files with 32 additions and 18 deletions

View File

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

View File

@ -0,0 +1,3 @@
fn {
super.foo // expect error
}