Closed GoogleCodeExporter closed 9 years ago
Fixed. This involved fixing two distinct bugs:
- contextual variables must be renamed (shadowed) upon encountering a local
variable of same name
- top level procedures such as AbstractGrinderTest and rewriter system demo
were extending the context twice, once for the input context, and another for
the main expression. However, this is incorrect if the same free variable X
appears in both, because the second context extension will shadow X with itself
even though it is the same variable (it's a free variable at the top level).
Now there is a single context extension using a tuple of input and input
context.
Original comment by rodrigob...@gmail.com
on 5 Feb 2014 at 5:52
Rodrigo, does the fix for 'top level procedures such as AbstractGrinderTest and
rewriter system demo were extending the context twice' also not need to be
applied to the corresponding logic in aic-praise?
Original comment by ctjoreilly@gmail.com
on 5 Feb 2014 at 9:27
Yes... I realized that after committing. I will take care of it today. Thanks.
Original comment by rodrigob...@gmail.com
on 5 Feb 2014 at 9:30
That is done as well now.
Original comment by rodrigob...@gmail.com
on 7 Feb 2014 at 12:40
Original issue reported on code.google.com by
ctjoreilly@gmail.com
on 21 Jan 2014 at 12:24