ArcBees / gwtquery

A jQuery clone for GWT, and much more.
MIT License
85 stars 38 forks source link

2.0.0-SNAPHOT compilation error relating to Function object #345

Closed biancashouse closed 9 years ago

biancashouse commented 9 years ago

gwt 2.7, gquery 2.0.0-SNAPHOT

Using promises:

loggingIn.done(new Function() {
        public void f() {
  ...

gives:

 [exec] [ERROR] /Users/ianw/my/g.appspot.club/gwt-gamehub/src/main/java/au/com/mobilett/gwt/gamehub/client/app/mobilett/TrainingProgramDemo.java:[236,32] error: <anonymous au.com.mobilett.gwt.gamehub.client.app.mobilett.TrainingProgramDemo$3> is not abstract and does not override abstract method call(Object,Object) in IsReturnFunction2

and a click handler line such as:

                    $("button.post-q-btn").click(new Function() {
                    public boolean f(Event e) {
                        bubblePlayer.stop();
                        return true;
                    }
                });

gives:

 [exec] [ERROR] /Users/ianw/my/g.appspot.club/gwt-gamehub/src/main/java/au/com/mobilett/gwt/gamehub/client/app/mobilett/TrainingProgramDemo.java:[899,49] error: <anonymous au.com.mobilett.gwt.gamehub.client.app.mobilett.TrainingProgramDemo$10$1> is not abstract and does not override abstract method call(Object,Object) in IsReturnFunction2
biancashouse commented 9 years ago

gquery 1.4.4-SNAPSHOT compiles ok.