lean4-htt/tests/lean/run/338.lean
Leonardo de Moura 0e3aa2c29b fix: scope of forallTelescopeReducing
Nested constructors were being processed using an extended local context.
Fix issue reported by @JasonGross at Zulip.

closes #338
2021-03-08 08:29:48 -08:00

8 lines
160 B
Text

inductive Foo (Name : Type) where
| foo (x : Name)
structure Name' where
name : Unit
def bar : Foo Name' → Type
| Foo.foo (_root_.Name'.mk name) => sorry