X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fas3%2Fok%2Fwhile.as;h=152ea1fff623ef978918394ad0296581ea958a94;hp=bf120cfac0617e85d55c964e57e799fc2aa06a75;hb=f00ad28507322054abc4859cb2049ec6f807c0c8;hpb=5a9b4530f6a84ce3666a94605270bddaf43c9ff2 diff --git a/lib/as3/ok/while.as b/lib/as3/ok/while.as index bf120cf..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,7 @@ package test.package { sum+=a; if(sum!=4321) trace("error"); else trace("ok 3/3"); + trace("[exit]"); } }