lean4-htt/tests/lean/varBinderUpdate.lean.expected.out
Leonardo de Moura 8241c49e11 fix: variable binder update commands
This issue was reported by @hrmacbeth at the ICERM after-party hackton.
2022-07-31 10:08:48 -07:00

14 lines
650 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

f Nat 5 : Nat
g 5 : Nat
f : (α : Type) → [inst : Add α] → αα
@g : {α : Type} → αα
f Nat 5 : Nat
g 5 : Nat
f : (α : Type) → αα
@g : {β : Type} → β → β
varBinderUpdate.lean:25:10-25:11: error: redundant binder annotation update
g : (α : Type) → (αα) → αα
h : (α : Type) → {f : αα} → αα
g Nat Bool 10 "hello" true : Nat × String × Bool
varBinderUpdate.lean:51:10-51:11: error: cannot change the binder annotation of the previously declared local instance `i`
varBinderUpdate.lean:59:10-59:11: error: cannot update binder annotation of variables with default values/tactics