mirror of
https://github.com/ZuneDev/ZuneUIXTools.git
synced 2026-07-27 13:11:59 -07:00
Add type guessing for property and local symbol references
This commit is contained in:
@@ -112,7 +112,7 @@ partial class Decompiler
|
||||
if (symbolRef.Origin is SymbolOrigin.ScopedLocal && !scopedLocals.Contains(symbolRef.Symbol))
|
||||
{
|
||||
// Scoped locals need to be declared the first time they're assigned
|
||||
var newSymbolIrisObj = IrisObject.Create(newSymbolValue, null, _context);
|
||||
var newSymbolIrisObj = IrisObject.Create(newSymbolValue, null, _context, export);
|
||||
var typeSchema = newSymbolIrisObj.Type ?? UIXTypes.MapIDToType(UIXTypeID.Object);
|
||||
|
||||
symbolWriteExpr = LocalDeclarationStatement(VariableDeclaration(
|
||||
|
||||
Reference in New Issue
Block a user