lean4-htt/tests/lean/proj_notation.lean.expected.out
Sebastian Ullrich e3bfd90b06 fix(frontends/lean/elaborator): default recover_from_error to false for most commands
Fixes #1446

fix(frontends/lean/util): quoting private name

uncovered by now failing run test
2017-03-09 20:51:35 -08:00

27 lines
687 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.

p^.fst :
p^.fst :
p^.snd :
p^.snd :
p^.fst :
p^.fst :
p^.snd :
p^.snd :
f (p^.fst) :
p^.fst + p^.snd :
λ (c : car), (c^.pos)^.x : car →
proj_notation.lean:34:19: error: invalid '^.' notation, 'fst' is not a valid "field" because environment does not contain 'car.fst'
c
which has type
car
proj_notation.lean:36:20: error: invalid projection, index must be greater than 0
proj_notation.lean:38:19: error: invalid projection, structure has only 2 field(s)
c
which has type
car
proj_notation.lean:40:19: error: invalid projection, structure expected
n
has type
p^.fst :
p^.snd :
λ (c : car), (c^.pos)^.y : car →