mechanism for multiple errors printed at end of file

This commit is contained in:
2024-09-18 22:21:10 -07:00
parent 4f7b78f056
commit 38f01065eb
6 changed files with 41 additions and 13 deletions

View File

@@ -346,8 +346,7 @@ record TopContext where
defs : List TopEntry
metas : IORef MetaContext
verbose : Bool
-- metas : TODO
errors : IORef (List Error)
-- we'll use this for typechecking, but need to keep a TopContext around too.