Changed how modules bind so that they can override existing variables
This commit is contained in:
parent
98e5c1c136
commit
e48a89e70d
|
@ -252,7 +252,7 @@ namespace Upsilon.Binder
|
|||
{
|
||||
if (moduleVariable.Value.Local)
|
||||
continue;
|
||||
Scope.Variables.Add(moduleVariable.Key, moduleVariable.Value);
|
||||
Scope.AssignToNearest(moduleVariable.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue