Fix LSP slowness, improve error messages

This commit is contained in:
2026-02-23 20:48:25 -08:00
parent 3cc3801f4d
commit 69a7b6bed8
5 changed files with 38 additions and 31 deletions

View File

@@ -0,0 +1,11 @@
module InferIssue
-- inline prelude to reduce log size
infixr 8 _×_
infixr 2 _,_
data a × b = (a,b)
data Nat = Z | S Nat
-- unification error because meta isn't solved yet
foo : Nat (Nat × (Nat Nat))
foo x = (Z , (\ x => 10))