Nested constructors were being processed using an extended local context. Fix issue reported by @JasonGross at Zulip. closes #338
11 lines
215 B
Text
11 lines
215 B
Text
structure Name where
|
|
name : Unit
|
|
|
|
inductive Foo (Name : Type) where
|
|
| foo (x : Name)
|
|
|
|
def bar : Foo Name → Type
|
|
| Foo.foo (Name.mk n) => Nat
|
|
|
|
def bar' : Foo Name → Type
|
|
| Foo.foo (_root_.Name.mk n) => Nat
|