lean4-htt/tests/lean/run/jason1.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

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