From d771396bd454b78b59b30fab5c7ce1e0774f0e77 Mon Sep 17 00:00:00 2001 From: nub31 Date: Wed, 25 Feb 2026 20:04:21 +0100 Subject: [PATCH] Remove unused BasicError --- compiler/Parser.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/compiler/Parser.cs b/compiler/Parser.cs index a665eea..4ab9fac 100644 --- a/compiler/Parser.cs +++ b/compiler/Parser.cs @@ -691,11 +691,6 @@ public class Parser { 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 definitions)