lean4-htt/tests/lean/macroStack.lean.expected.out
Leonardo de Moura bbc1f4d461 fix: throwAppTypeMismatch should be polymorphic
We use it from `TermElabM` and `MetaM`, and they have different
`TermElabM` implementations.
2020-09-22 09:35:59 -07:00

36 lines
849 B
Text

macroStack.lean:4:5: error: unknown identifier 'x'
macroStack.lean:8:6: error: unknown identifier 'x'
with resulting expansion
Greater._@._internal._hyg.0 x 0
while expanding
x > 0
while expanding
if h:(x > 0) then 1 else 0
macroStack.lean:11:9: error: elaboration function for 'Lean.Parser.Term.liftMethod' has not been implemented
macroStack.lean:17:0: error: application type mismatch
x + x✝¹ + x✝
argument
x✝
has type
String
but is expected to have type
Nat
failed to synthesize instance
CoeT String x✝ Nat
with resulting expansion
HasAdd.add._@._internal._hyg.0 ( x
+ x ) x
while expanding
( x
+ x ) + x
while expanding
foo! ( x
+ x )
while expanding
foo! ( x
+ x ) < 1
while expanding
if foo! ( x
+ x ) < 1 then true else false
while expanding
bla! x