Fixes binder assigning values to static read only scope

This commit is contained in:
2018-11-23 13:18:49 +01:00
parent aae16e8b62
commit ea24695128
4 changed files with 18 additions and 12 deletions

View File

@@ -10,13 +10,13 @@ namespace UpsilonTests
[Collection("collection")]
public abstract class TestClass
{
public Dictionary<string, LuaType> StaticScope { get; }
public Dictionary<string, VariableSymbol> BoundScope { get; }
public EvaluationScope StaticScope { get; }
public BoundScope BoundScope { get; }
public TestClass(StaticScriptFixture fix)
{
StaticScope = fix.StaticScope.Variables;
BoundScope = fix.BoundScope.Variables;
StaticScope = fix.StaticScope;
BoundScope = fix.BoundScope;
}
}