We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cb72dd commit b697e6dCopy full SHA for b697e6d
Code/ContextSystem/Contexter.cs
@@ -133,7 +133,7 @@ List<Context> contexts
133
134
if (firstToken is not IContextableToken contextable)
135
{
136
- return rs + "The beginning of the line is incorrectly strucutred.";
+ return rs + $"{firstToken} is not a valid way to start a line. Maybe you made a typo?";
137
}
138
139
var context = contextable.GetContext(scr);
Code/TokenSystem/Tokens/BaseToken.cs
@@ -68,7 +68,7 @@ public string GetBestTextRepresentation(Script? script)
68
69
public override string ToString()
70
71
- return GetType().AccurateName;
+ return $"token '{RawRep}' ({GetType().AccurateName})";
72
73
74
public TryGet<T> TryGetLiteralValue<T>() where T : LiteralValue
0 commit comments