Debian Codegraph @

test-suite/bugs/bug_7754.v

raw
1
2 Set Universe Polymorphism.
3
4 Module OK.
5
6 Inductive one@{i j} : Type@{i} :=
7 with two : Type@{j} := .
8 Check one@{Set Type} : Set.
9 Fail Check two@{Set Type} : Set.
10
11 End OK.
12
13 Module Bad.
14
15 Fail Inductive one :=
16 with two@{i +} : Type@{i} := .
17
18 Fail Inductive one@{i +} :=
19 with two@{i +} := .
20
21 End Bad.