diff options
author | Camil Staps | 2021-01-04 20:27:45 +0100 |
---|---|---|
committer | Camil Staps | 2021-01-04 20:27:45 +0100 |
commit | 88de5784428bec9a4b32bdf447c160da29b3745e (patch) | |
tree | 4b5a52c8fe2560e98aca0d74ec8dcd5cb09b2b70 /Sil/Error.dcl | |
parent | Fix error reporting for illegal command line arguments (diff) |
Make up to date
Diffstat (limited to 'Sil/Error.dcl')
-rw-r--r-- | Sil/Error.dcl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Sil/Error.dcl b/Sil/Error.dcl index 947ba9a..6bfcda9 100644 --- a/Sil/Error.dcl +++ b/Sil/Error.dcl @@ -3,8 +3,6 @@ definition module Sil.Error from StdFile import class <<< from StdOverloaded import class toString, class < -from Data.Maybe import :: Maybe - from Sil.Syntax import :: Expression from Sil.Types import :: Type from Sil.Util.Parser import :: ParsePosition, class getPos @@ -43,6 +41,6 @@ instance toString Error instance <<< Error instance < Error // Based on position in file, to choose the furthest error in the parser -getErrorPosition :: Error -> Maybe ErrorPosition +getErrorPosition :: Error -> ?ErrorPosition errpos :: a -> ErrorPosition | getPos a |