lean4-htt/tests/lean/bad_error5.lean

14 lines
212 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.

structure S :=
(α : Type)
(β : unit)
structure T (c : S)
structure U (c: S) (A : c^.α)
definition V (c : S) : S :=
{
α := T c,
-- code generation error should be shown on tactic
β := by sorry
}