Debian Codegraph @

test-suite/bugs/bug_3386.v

raw
1 Unset Strict Universe Declaration.
2 Set Universe Polymorphism.
3 Set Printing Universes.
4 Record Cat := { Obj :> Type }.
5 Definition set_cat := {| Obj := Type |}.
6 Goal Type@{i} = Type@{j}.
7 Proof.
8 (* 1 subgoals
9 , subgoal 1 (ID 3)
10
11 ============================
12 Type@{Top.368} = Type@{Top.370}
13 (dependent evars:) *)
14 Fail change Type@{i} with (Obj set_cat@{i}). (* check that it fails *)
15 try change Type@{i} with (Obj set_cat@{i}). (* check that it's not an anomaly *)
16 (* Anomaly: Uncaught exception Invalid_argument("Array.iter2", _).
17 Please report. *)
18 Abort.