lean4-htt/old_tests/tests/lean/private_structure.lean.expected.out
2018-04-10 12:56:55 -07:00

26 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.x : point →
point.y : point →
{x := 1, y := 2} : point
{x := 1, y := 2} : 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.no_confusion'
private_structure.lean:30:7: error: unknown identifier 'point.x'
private_structure.lean:31:7: error: unknown identifier 'point.y'
def foo.bla : Type :=
point
private_structure.lean:36:8: error: invalid constructor ⟨...⟩, type is a private inductive datatype
⁇ : foo.bla
private_structure.lean:37:8: error: invalid structure instance, type is a private structure
⁇ : foo.bla
foo.mk : foo.bla