lean4-htt/tests/lean/run/grind_cases.lean
2024-05-21 21:46:23 +02:00

29 lines
555 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.

/--
error: `List` is a recursive datatype
-/
#guard_msgs in
attribute [grind_cases] List
/--
error: `Prod.mk` is not an inductive datatype or an alias for one
-/
#guard_msgs in
attribute [grind_cases] Prod.mk
/--
error: `List.append` is a definition, but it is not an alias/abbreviation for an inductive datatype
-/
#guard_msgs in
attribute [grind_cases] List.append
attribute [grind_cases] Prod
def Foo (α : Type u) := Sum α α
attribute [grind_cases] Foo
attribute [grind_cases] And
attribute [grind_cases] False
attribute [grind_cases] Empty