Don't inherit metaclasses.

Also disallow super() in static methods. It won't do anything
useful (it always just delegates to Class) anyway.
This commit is contained in:
Bob Nystrom
2014-01-17 17:29:10 -08:00
parent 1d808cf49c
commit e8791b6bab
5 changed files with 20 additions and 42 deletions
+5
View File
@@ -0,0 +1,5 @@
class Foo {
static method {
super // expect error
}
}