lean4-htt/tests/lean/run/456.lean
Kyle Miller 158979380e
feat: make Level -> MessageData coercion respect pp.mvars (#3980)
Adds `ppLevel` to the `PPFns` extension so that the coercion can pass
the pretty printing context (including the `pp.mvars` option setting) to
the `Level` formatter.
2024-04-24 14:23:42 +00:00

12 lines
205 B
Text

set_option pp.mvars false
/--
error: failed to solve universe constraint
u =?= max 1 _
while trying to unify
Sort u : Type u
with
Type : Type 1
-/
#guard_msgs in
def A : Sort u := { s : Prop // _ }