Surface erasure errors in editor, fix issue checking erasure after inlining

This commit is contained in:
2025-12-26 13:00:53 -08:00
parent 2137e102e7
commit 9bbc7208d7
4 changed files with 19 additions and 1 deletions

10
tests/Quantity.newt.fail Normal file
View 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