Ticket #123 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

short for statements should use parent scope

Reported by: mb0 Assigned to: asdt.org
Priority: major Milestone: AXDT 0.0.7
Component: editor Version: AXDT 0.0.5
Keywords: Cc:

Description (Last modified by mb0)

var i:int = 0;
// ok
do var i:int = 0; while (true);
while (true) var i:int = 0;
if (true) var i:int = 0;
// should show error here
for (;true;) var i:int = 0;
// header also uses parent scope
for (var i:int = 0;true;) i++;

Change History

10/25/08 16:04:21 changed by mb0

  • status changed from new to closed.
  • resolution set to fixed.
  • description changed.

fixed in [145]