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

22 lines
1 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.

{a := 1, b := 1, c := 1} : foo
{a := 1, b := 1, c := 1} : foo
{a := ?M_1, b := ?M_1, c := 1} : foo
{a := ?M_1, b := ?M_1, c := 1} : foo
{a := f.a, b := f.b, c := 1} : foo
{a := f.a, b := f.b, c := f.c} : foo
structure_instances.lean:16:10: error: invalid expression
structure_instances.lean:16:12: error: invalid structure instance, '}' expected
structure_instances.lean:16:7: error: invalid structure notation source, not a structure
which has type
?m_1
structure_instances.lean:16:7: error: invalid structure value {...}, expected type is not known(solution: use qualified structure instance { struct_id . ... }
structure_instances.lean:16:14: error: command expected
structure_instances.lean:17:13: error: invalid structure instance, '}' expected
structure_instances.lean:17:7: error: function expected at
{a := f.a, b := f.b, c := f.c}
term has type
foo
structure_instances.lean:17:15: error: command expected
{a := 0, b := 0} : bar
{a := 1, b := {a := 0, b := 0}.b, c := {b := 2, c := 2}.c} : foo