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

View File

@@ -1,14 +0,0 @@
module Quantity
import Prelude
foo : Nat Nat
foo x = x
-- This should fail to compile
bar : x. Nat
bar {x} = foo x
main : IO Unit
main = printLn $ bar {S Z}