Static methods not taken from super class (native java)
WebDSL won’t see getStatic as method for SubClass in the following example:
native class nativejava.TestSub as SubClass : SuperClass { constructor() } native class nativejava.TestSuper as SuperClass { static getStatic(): String } define page root() { //Error: No function 'getStatic' for 'SubClass' with signature getStatic() output SubClass.getStatic() }
Easy workaround is to redundantly define it as method for sub classes.
Submitted by Elmer van Chastelet on 7 March 2012 at 13:35
Issue Log
On 7 March 2012 at 13:36 Elmer van Chastelet tagged nativejava
On 3 April 2012 at 21:07 Danny Groenewegen tagged 1.3.0
On 3 April 2012 at 21:07 Danny Groenewegen closed this issue.
Log in to post comments