top.errors doesn't need to be an IORef

This commit is contained in:
2025-12-17 09:35:08 -08:00
parent a824b1403b
commit 6590efa91c
3 changed files with 7 additions and 12 deletions

View File

@@ -433,7 +433,7 @@ record TopContext where
-- Global values
verbose : Int -- command line flag
errors : IORef (List Error)
errors : List Error
ops : Operators
-- we'll use this for typechecking, but need to keep a TopContext around too.