test-suite/bugs/bug_4254.v
raw| 1 | Inductive foo (V:Type):Type := |
| 2 | | Foo : list (bar V) -> foo V |
| 3 | with bar (V:Type): Type := |
| 4 | | bar1: bar V |
| 5 | | bar2 : V -> bar V. |
| 6 | |
| 7 | Module WithPoly. |
| 8 | Polymorphic Inductive foo (V:Type):Type := |
| 9 | | Foo : list (bar V) -> foo V |
| 10 | with bar (V:Type): Type := |
| 11 | | bar1: bar V |
| 12 | | bar2 : V -> bar V. |
| 13 | End WithPoly. |