lean4-htt/tests/lean/297.lean.expected.out
Leonardo de Moura 483f32edd8 feat: in pure code, do use assume Id monad at do notation
This feature produced counterintuitive behavior and confused users.
See discussion at #770.

As pointed out by @tydeu, it is not too much work to write `Id.run <|`
before the `do` when we want to use the `do` notation in pure code.

closes #770
2021-12-10 12:55:14 -08:00

2 lines
77 B
Text

297.lean:1:10-1:11: error: failed to synthesize instance
OfNat (Sort ?u) 0