From 2e6025abff8e4f36480347bb996ccc9a9b4396f8 Mon Sep 17 00:00:00 2001 From: kramm Date: Tue, 23 Dec 2008 18:56:52 +0000 Subject: [PATCH] assume that variables declared inside a for loop are invisible outside of it --- lib/as3/ok/for.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/as3/ok/for.as b/lib/as3/ok/for.as index d3bd828..048df97 100644 --- a/lib/as3/ok/for.as +++ b/lib/as3/ok/for.as @@ -16,8 +16,8 @@ package { else trace("error"); for(var a2=0;a2<99;a2++) { + if(a2==80) trace("ok 4/4"); } - if(a2==99) trace("ok 4/4"); } } } -- 1.7.10.4