static method class super references - fixes #40
This commit is contained in:
@@ -9,4 +9,8 @@ class Test extends Foo {
|
||||
test() {
|
||||
super();
|
||||
}
|
||||
|
||||
static foo() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,5 +17,8 @@ var Test = function (Foo) {
|
||||
Test.prototype.test = function () {
|
||||
Foo.prototype.test.call(this);
|
||||
};
|
||||
Test.foo = function () {
|
||||
Foo.foo.call(this);
|
||||
};
|
||||
return Test;
|
||||
}(Foo);
|
||||
|
||||
Reference in New Issue
Block a user