[haXe] Bug: Assertion Failed caused by catch() in __init__

Nicolas Cannasse ncannasse at motion-twin.com
Fri Apr 6 09:39:07 CEST 2007


> I get this compile error:
> 
> $  haxe -main Main -swf-version 9 -swf Main.swf
> File "genswf9.ml <http://genswf9.ml>", line 694, characters 59-65:
> Assertion failed
> 
> When I compile this code:

You can't try/catch in __init__, which should only be used to perform
some lowlevel initializations.

Nicolas



More information about the Haxe mailing list