[ repl ] don't exit early on error

This commit is contained in:
2026-02-09 11:03:50 -08:00
parent a17a9c4342
commit 340457cab7
9 changed files with 22 additions and 16 deletions

View File

@@ -7,4 +7,4 @@ ERROR at tests/BadAlt.newt:6:6--6:13: Prelude._:<_ not a constructor for (Prelud
foo (xs :< x) = x
^^^^^^^
Compile failed
ERROR at :1:1--1:2: Failed to compile module BadAlt

View File

@@ -6,4 +6,4 @@ ERROR at tests/Duplicate.newt:4:1--4:5: Duplicate.Left is already defined at tes
data Either : U -> U -> U where
^^^^
Compile failed
ERROR at :1:1--1:2: Failed to compile module Duplicate

View File

@@ -3,4 +3,4 @@ module Prelude
module ErrMsg2
ERROR at tests/ErrMsg2.newt:6:13--6:15: Expected '=>' at Keyword:->
Compile failed
ERROR at :1:1--1:2: Failed to compile module ErrMsg2

View File

@@ -18,4 +18,4 @@ ERROR at tests/ErrorDup.newt:9:7--9:10: Nat already declared
class Nat where
^^^
Compile failed
ERROR at :1:1--1:2: Failed to compile module ErrorDup

View File

@@ -6,4 +6,4 @@ ERROR at tests/LitConCase.newt:7:5--7:11: expected Prim.Int
foo MkUnit = MkUnit
^^^^^^
Compile failed
ERROR at :1:1--1:2: Failed to compile module LitConCase

View File

@@ -7,4 +7,4 @@ ERROR at tests/Possible.newt:6:5--6:8: possible constructors: [Prelude.Z, Prelud
foo ()
^^^
Compile failed
ERROR at :1:1--1:2: Failed to compile module Possible

View File

@@ -7,4 +7,4 @@ ERROR at tests/Quantity.newt:11:15--11:16: used erased value x$0 (FIXME FC may b
bar {x} = foo x
^
Compile failed
ERROR at :1:1--1:2: Failed to compile module Quantity