lean2/tests/lean/run/ind_bug.lean
Leonardo de Moura d0d23eb525 fix(frontends/lean/inductive_cmd): improve name resolution in inductive
command

The new test demonstrates the problem being fixed by this commit
2014-09-16 09:48:51 -07:00

15 lines
205 B
Text

import logic
variable N : Type.{1}
variable I : Type.{1}
namespace foo
inductive p (a : N) : Prop :=
intro : p a
end foo
open foo
namespace bla
inductive p (a : I) : Prop :=
intro : p a
end bla