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]

Re: kawa hanging while running input-parse.scm




On 12/05/2014 03:49 PM, Seth Alves wrote:

It seems to be happening in FindCapturedVars.java line 274 in

   static Expression checkInlineable (LambdaExp current,
                                      java.util.Set<LambdaExp> seen)
   {
    ...
             else if (r == null)
               {
                 r = t;
                 if (current.inlineHome == null)
                   current.inlineHome = current.nestedIn(p) ? p : p.inlineHome;
               }
    ...
    }


I checked in a fix for this.  (I hope - I find this kind of code difficult.)
Basically, I don't set inlineHome here, instead deferring doing so to visitLambdaExp.

--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]