lean4-htt/tests/lean/diamond1.lean.expected.out
2022-10-25 12:23:13 +02:00

11 lines
515 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.

diamond1.lean:11:40-11:45: error: parent field type mismatch, field 'a' from parent 'Baz' has type
αα : Type
but is expected to have type
α : Type
inductive Foo : Type → Type
number of parameters: 1
constructors:
Foo.mk : {α : Type} → Bar (αα) → (Bool → α) → Nat → Foo α
def f : Nat → Foo Nat :=
fun x => { toBar := { a := fun y => x + y, b := fun x x_1 => x + x_1 }, c := fun x_1 => x, d := x }
diamond1.lean:27:47-27:52: warning: field 'a' from 'Baz' has already been declared