[mtasc] Assert_failure in typer.ml

Austin Haas austin at pettomato.com
Sun Sep 4 17:03:23 CEST 2005


The complete Actionscript documentation can be found here:
http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/js/html/wwhelp.htm?href=Part_ASLR.html

Are you putting those two classes in a single file? Because you can't do 
that. Each class must be in a separate file.

-austin

Clemens Hofreither wrote:
> Hello,
> 
> I'm using MTASC 1.09 on Windows. When compiling an .as file which
> contains more than one class, I get the following error message:
> 
> Fatal error: exception Assert_failure(".\typer.ml", 932, 26)
> 
> I'm new to ActionScript and documentation is hard to come by, so it's
> very possible that this just isn't allowed, but still the assertion
> failure hints at a problem in the compiler. At the very least, the
> user should get a message telling him that he can't do that. By the
> way, I've searched the archive and didn't come up with anything, so
> sorry if this has been brought up before.
> 
> Best regards,
> Clemens Hofreither
> 
> 
> PS: A trivial example file which exhibits the problem follows below:
> ===================================
> class MyButton {
> }
> 
> class Basic {
> }
> ===================================
> --
> MTASC : no more coffee break while compiling
> 



More information about the mtasc mailing list