This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 06/06/2012 01:34 PM, Jamison Hope wrote:
Yup, just found that. We need a check something like that the outer procedure's original declaration is within the same enclosing LetExp that we're in now? Or maybe that we're within a SetExp? Is it ever correct to do a rebinding outside of a set?
The attached patch seems to work.
OK, yeah. I wasn't sure if ModuleExp was the only "correct" context, so I was settling on something like (proc.currentLet() == null) with currentLet() like currentLambda() in ScopeExp.
-- --Per Bothner per@bothner.com http://per.bothner.com/ <procinit.patch>
-- Jamison Hope The PTR Group www.theptrgroup.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |