Skip to content

Commit 50b2cf8

Browse files
Update LiteralVariableToken.cs
1 parent d3d9dc1 commit 50b2cf8

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

Code/TokenSystem/Tokens/VariableTokens/LiteralVariableToken.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,4 @@ public override Context GetContext(Script scr)
1717
LineNum = LineNum,
1818
};
1919
}
20-
21-
public TryGet<T> TryGetValue<T>() where T : Value
22-
{
23-
if (TryGetVariable().HasErrored(out var varError, out var variable))
24-
{
25-
return varError;
26-
}
27-
28-
if (variable.TryGetValue<T>().HasErrored(out var valError, out var value))
29-
{
30-
return valError;
31-
}
32-
33-
return value;
34-
}
3520
}

0 commit comments

Comments
 (0)