Surface erasure errors in editor, fix issue checking erasure after inlining
This commit is contained in:
10
tests/Quantity.newt.fail
Normal file
10
tests/Quantity.newt.fail
Normal file
@@ -0,0 +1,10 @@
|
||||
*** Process tests/Quantity.newt
|
||||
module Prelude
|
||||
module Quantity
|
||||
ERROR at tests/Quantity.newt:11:15--11:16: used erased value x$0 (FIXME FC may be wrong here)
|
||||
-- This should fail to compile
|
||||
bar : ∀ x. Nat
|
||||
bar {x} = foo x
|
||||
^
|
||||
|
||||
Compile failed
|
||||
Reference in New Issue
Block a user