Closed PavelTurk closed 5 years ago
Hello, This is the intended behavior.
Please try
import static def.dom.Globals.*;
interface Lala {
public void doIt();
default void defaultOne(){
alert("Hi");
}
static void statOne() {
alert("Hi2");
}
}
class Lolo implements Lala {
public void coucou() {
defaultOne();
}
public void doIt() {
}
}
It will call defaultOne()
I use JSweet on JSweet site. This is java code:
package org.jsweet;
And this is the generated typescript code:
As you see defaultOne implementation is ignored.