View difference between Paste ID: s3Et98Q7 and 2YbEttaw
SHOW: | | - or go back to the newest paste.
1
interface IFoo
2
 {
3
	var testvar:Int;
4-
	function testfunc():Void;
4+
5
 class Foo implements IFoo
6
 {
7
	public var testvar:Int;
8
	public function new(){}
9
 }
10-
	public function testfunc():Void
10+
11
{
12
	public function new()
13
	{
14
		super();
15
16
		var f:IFoo = new Foo();
17
		/*
18
		8) [0x5D] findpropstrict multinames[17]  ->  Foo
19-
		var f = new Foo();
19+
		9) [0x4A] constructprop multinames[17]  ->  Foo (arg_count = 0)
20
		10) [0x80] coerce multinames[13]  ->  IFoo
21-
	
21+
		11) [0xD5] setlocal1
22-
	public static function main()
22+
		*/
23
24-
		Lib.current.addChild(new Main());
24+
		f.testvar;
25
		/*
26
		13) [0xD1] getlocal1
27
		14) [0x66] getproperty multinames[14]  ->  testvar
28
		*/
29
	}
30
}