Remove unused BasicError

This commit is contained in:
nub31
2026-02-25 20:04:21 +01:00
parent 7b1e202424
commit d771396bd4

View File

@@ -691,11 +691,6 @@ public class Parser
{ {
return new CompileException(Diagnostic.Error(message).At(fileName, ident).Build()); return new CompileException(Diagnostic.Error(message).At(fileName, ident).Build());
} }
private CompileException BasicError(string message, Node node)
{
return new CompileException(Diagnostic.Error(message).At(fileName, node).Build());
}
} }
public class Ast(string fileName, TokenIdent moduleName, List<NodeDefinition> definitions) public class Ast(string fileName, TokenIdent moduleName, List<NodeDefinition> definitions)