[ repl ] don't exit early on error
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user