Follow-on to #16. super should support static methods.
In GDScript, static methods can call superclass methods (provided that those methods are also static) freely, so we need to support this. Currently, we will get a "no such variable self" error.
Open question for how to handle the closure case: If we call a superclass static method inside a closure within a static method, we need to close around the name of the current class, which is... interesting. We also need to be able to generate static __gdlisp_super proxy methods.
Follow-on to #16.
super
should support static methods.In GDScript, static methods can call superclass methods (provided that those methods are also static) freely, so we need to support this. Currently, we will get a "no such variable
self
" error.Open question for how to handle the closure case: If we call a superclass static method inside a closure within a static method, we need to close around the name of the current class, which is... interesting. We also need to be able to generate static
__gdlisp_super
proxy methods.