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

Baffo32 baffo32 at gmail.com
Fri Apr 6 01:54:15 CEST 2007


I get this compile error:

$  haxe -main Main -swf-version 9 -swf Main.swf
File "genswf9.ml", line 694, characters 59-65: Assertion failed

When I compile this code:

class Main
{
  public static function main() { }
  private static function __init__() {
    try {
    } catch(e:Dynamic) {
    }
  }
}

Removing the catch(e:Dynamic) clause alleviates the error.

-Baffo32
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20070405/4169057c/attachment.htm


More information about the Haxe mailing list