mirror of
https://github.com/ZuneDev/ZuneUIXTools.git
synced 2026-07-27 13:11:59 -07:00
Keep track of loop variables as scoped locals
This commit is contained in:
@@ -233,6 +233,8 @@ partial class Decompiler
|
||||
forEachBlockInfo2.Type = IrisExpression.ToSyntax(loopVariableType, _context);
|
||||
forEachBlockInfo2.Identifier = loopVariableSymbol;
|
||||
|
||||
scopedLocals[loopVariableSymbol] = loopVariableType;
|
||||
|
||||
stack.Push(IdentifierName(loopVariableSymbol));
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user