haxetink / tink_runloop

Cross platform run loop abstraction.
MIT License
14 stars 3 forks source link

Main not wrapped in RunLoop.create #4

Open benmerckx opened 8 years ago

benmerckx commented 8 years ago

Even though this should have been fixed by https://github.com/haxetink/tink_io/issues/8 I'm still seeing even the most simple examples fail to have to their main method wrapped in RunLoop.create.

class Main {
    public static function main()
        trace('hello');
}
-lib tink_runloop
-main Main
-neko index.n
-cmd neko index.n
class Main{
    static public main(method) : Void -> Void

     = function() = {
        haxe.Log.trace("hello",{fileName : "Main.hx",lineNumber : 5,className : "Main",methodName : "main"});
    }

}
kevinresol commented 7 years ago

I noticed this as well, but only when I use haxe -x