From 6e8c5385fc3dc9416f59fa48657685506d3045eb Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Fri, 18 Aug 2017 21:15:40 +0200 Subject: Positional errors fully implemented; resolves #5 --- Sil/Error.dcl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Sil/Error.dcl') diff --git a/Sil/Error.dcl b/Sil/Error.dcl index 42341ed..947ba9a 100644 --- a/Sil/Error.dcl +++ b/Sil/Error.dcl @@ -18,7 +18,7 @@ instance < ErrorPosition = E.a: P_Invalid String a & toString a | E.a: P_Expected ErrorPosition String a & toString a // Type errors - | T_IllegalApplication Type Type + | T_IllegalApplication ErrorPosition Type Type | T_IllegalField ErrorPosition String Type | T_TooHighTupleArity ErrorPosition Int // Check errors @@ -33,8 +33,6 @@ instance < ErrorPosition // Compile errors | C_UndefinedName ErrorPosition String | C_UndefinedField ErrorPosition String - | C_VariableLabel - | C_FunctionOnStack | C_CouldNotDeduceType Expression | C_TypeMisMatch Type Expression Type | C_BasicInitWithoutValue ErrorPosition String -- cgit v1.2.3