lean4-htt/tests/lean/t3.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

15 lines
423 B
Text

Type u
Type tst.v
Type tst.v
Type tst.v
t3.lean:9:16: error: unknown universe 'v'
Type z
t3.lean:14:16: error: unknown universe 'z'
t3.lean:16:2: error: invalid namespace declaration, a namespace cannot be declared inside a section
Type tst.v
Type u
Type tst.foo.U
Type tst.v
Type tst.foo.U
t3.lean:33:2: error: universe level alias 'u' shadows existing global universe level
t3.lean:35:16: error: unknown universe 'bla.u'