lean4-htt/tests/lean/bad_error4.lean.expected.out
Gabriel Ebner 37d9e03cc1 feat(frontends/lean/pp): show substituted expressions for delayed abstractions
@leodemoura I tried to look up the unique names in the local context,
but this pretty much always fails.  AFAICT we never remember the local
context when pretty-printing expression texts.
2017-07-15 21:34:05 +01:00

6 lines
193 B
Text

bad_error4.lean:5:7: error: type mismatch at field 'f'
λ (a : unit) (b : ?m_1[a]), ?m_3[a, b]
has type
Π (a : unit) (b : ?m_1[a]), ?m_2[a, b]
but is expected to have type
unit → unit