jan_flanders

Untitled

Aug 9th, 2012
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Main extends flash.display.Sprite
  2. {
  3.     public var i:Int;
  4.  
  5.     public function new(?i:Null<Int>)
  6.     {
  7.         super();
  8.         this.i = i;
  9.     }
  10.  
  11.     public static function main()
  12.     {
  13.         trace(new Main(null).i);//0
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment