Closed morganthomas closed 2 years ago
Steps to reproduce:
Compile foo and bar defined in this spec:
foo
bar
def c : N -> N := \x : N => x. def foo : N -> Prop := \x : N => c(x) = x. def bar : N -> Prop := \c : N => foo(c).
Expected result:
Both compile to the same result.
Actual result:
bar does not compile.
Explanation:
c is shadowed. bar compiles upon alpha conversion.
c
Fixed.
Steps to reproduce:
Compile
foo
andbar
defined in this spec:Expected result:
Both compile to the same result.
Actual result:
bar
does not compile.Explanation:
c
is shadowed.bar
compiles upon alpha conversion.