X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Fok%2Fwhile.as;h=152ea1fff623ef978918394ad0296581ea958a94;hb=395359a0831639fcc30aab4ea897e23ff8ab420c;hp=83b71d2dcde5ba566eeff271c1cb98e0c8917f19;hpb=50fd04a2bb9b2a8f374ea99446f6631606704c6c;p=swftools.git diff --git a/lib/as3/ok/while.as b/lib/as3/ok/while.as index 83b71d2..152ea1f 100644 --- a/lib/as3/ok/while.as +++ b/lib/as3/ok/while.as @@ -16,6 +16,9 @@ package test.package { if(i!=21) trace("error"); else trace("ok 2/3"); + + /* notice: this type of overloading behaves differently if + this function is switched into compatibility mode */ var x1=0; var a=1; var sum=0; @@ -41,6 +44,8 @@ package test.package { sum+=a; if(sum!=4321) trace("error"); else trace("ok 3/3"); + + trace("[exit]"); } } }