lean4-htt/tests/lean/private_structure.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

23 lines
1.2 KiB
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.

bla : Type
point : Type
point.mk : → point
point.rec : (Π (x y : ), ?M_1 {x := x, y := y}) → Π (n : point), ?M_1 n
point.rec_on : Π (n : point), (Π (x y : ), ?M_1 {x := x, y := y}) → ?M_1 n
point.cases_on : Π (n : point), (Π (x y : ), ?M_1 {x := x, y := y}) → ?M_1 n
point.induction_on : ∀ (n : point), (∀ (x y : ), ?M_1 {x := x, y := y}) → ?M_1 n
point.x : point →
point.y : point →
bla : Type
private_structure.lean:24:7: error: unknown identifier 'point'
private_structure.lean:25:7: error: unknown identifier 'point.mk'
private_structure.lean:26:7: error: unknown identifier 'point.rec'
private_structure.lean:27:7: error: unknown identifier 'point.rec_on'
private_structure.lean:28:7: error: unknown identifier 'point.cases_on'
private_structure.lean:29:7: error: unknown identifier 'point.induction_on'
private_structure.lean:30:7: error: unknown identifier 'point.no_confusion'
private_structure.lean:31:7: error: unknown identifier 'point.x'
private_structure.lean:32:7: error: unknown identifier 'point.y'
def foo.bla : Type :=
point
private_structure.lean:37:8: error: invalid constructor ⟨...⟩, type is a private inductive datatype
foo.mk : foo.bla