lean4-htt/tests/lean/run/1343.lean

19 lines
290 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

universe variable u
namespace ex1
inductive foo (α : Type (u+1)) : Type (u+1)
| mk : α → foo
inductive bug
| leaf : bug
| mk : foo bug → bug
end ex1
namespace ex2
inductive foo (α : Type u) : Type u
| mk : α → foo
inductive bug
| leaf : bug
| mk : foo bug → bug
end ex2