Fixes binder assigning values to static read only scope
This commit is contained in:
@@ -22,7 +22,7 @@ namespace Ycicle
|
||||
var input = Console.ReadLine();
|
||||
if (input == "exit") return;
|
||||
script = script == null
|
||||
? new Script(input, boundScope.Variables, evaluationScope.Variables)
|
||||
? new Script(input, boundScope, evaluationScope)
|
||||
: Script.ContinueWith(script, input);
|
||||
|
||||
if (script.Diagnostics.Messages.Count > 0)
|
||||
|
||||
Reference in New Issue
Block a user