samedi 23 septembre 2017

haxe / openfl:: comparison fails in neko but works in html5

I am Alex...

and i have a pretty "simple" problem.

 class Main2 extends Sprite
 {
    public function new()
    {
        super();
        var a = callbackFunc;
        var b = callbackFunc;

        if (a == b)
            trace("success");
        else    
            trace("Failed");
   }
   private function callbackFunc():Void 
   {

   }
}

When compiled to html5 Target everything is fine... in Neko it traces "Failed"... Didn't find anything useful in the net that might explain the Problem... Any ideas ?

Kind regards,

Alex

Aucun commentaire:

Enregistrer un commentaire