stack overflow

by bkzen
compiler bug?
http://qiita.com/items/0397287ce1438c9b176d
♥0 | Line 25 | Modified 2013-04-23 15:45:37 | MIT License
play

ActionScript3 source code

/**
 * Copyright bkzen ( http://wonderfl.net/user/bkzen )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/uXk0
 */

package  
{
    import flash.display.Sprite;
    import flash.text.TextField;
    
    public class BugTest extends Sprite 
    {
        public function BugTest() 
        {
            try 
            {
                (function (): void {
                    var a:*,b:*,c:*,d:*;
                    d == d;
                })();
            }
            catch (err: Error)
            {
                var txt: TextField = new TextField();
                txt.autoSize = "left";
                txt.text = "" + err;
                addChild(txt);
            }
        }
    }
}

Forked