lean4-htt/tests/lean/user_attribute.lean.expected.out
Leonardo de Moura 90bfd84a07 feat(frontends/lean): Type is now (Type 1)
In the standard library, we should use explicit universe variables for
universe polymorphic definitions.

Users that want to declare universe polymorphic definitions but do not
want to provide universe level parameters should use
  Type _
or
  Type*
2016-09-17 14:30:54 -07:00

18 lines
585 B
Text

eq.refl
attribute [foo, refl]
constructor eq.refl : ∀ {A : Type u} (a : A), a = a
[eq.refl]
---
eq.refl
attribute [foo, foo.baz, refl]
constructor eq.refl : ∀ {A : Type u} (a : A), a = a
[eq.refl]
user_attribute.lean:24:0: error: an attribute named [reducible] has already been registered
state:
⊢ true
user_attribute.lean:29:0: error: invalid attribute.register argument, must be name of a definition of type user_attribute
state:
⊢ true
user_attribute.lean:35:2: error: invalid attribute.register argument, must be name of a definition of type user_attribute
state:
⊢ true