super
ympbyc opened this issue · comments
Minori Yamashita commented
I want super
Minori Yamashita commented
Current implementation causes the stack to overflow when inheritance level gets deeper than two.
We have to provide the pseudo variable super independent of the pseudo variable self.
Minori Yamashita commented
Make __super a class variable.
Minori Yamashita commented
Added special case in optimizastion.st to turn
ClassName super: #superMethod.
ClassName super: #superMethod arguments: #(1 2 3)
into
ClassName.__super.superMethod.call(_this);
ClassName.__super.superMethod.apply(_this, [1, 2, 3]);
Seems to be working well.