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: Internal Error at compile time - Suggestions?




On 11/19/2015 10:19 AM, Ben Simon wrote:
   touch printer.scm
   ant debug
   -- error:
      [java] (compiling
/home/ben/Desktop/i2x/thermaroid/src/com/benjisimon/thermaroid/main.scm
to com.benjisimon.thermaroid.main)
      [java] /home/ben/Desktop/i2x/thermaroid/src/com/benjisimon/thermaroid/main.scm:54:91:
internal error - allocate method for LambdaExp:send-to-printer/18/l:25
in module ModuleExp:printer/7/l:5 that has already been compiled

Note: all I did was touch printer.scm, I didn't make any real changes to it.

Now if I run:
    ant clean
    ant debug
compilation will succeed.

However running a make clean after every change to dependent file
seems a bit much, no?

I agree.


If you want, I can prepare a much smaller, more self contained example.

Let me know.

That would be appreciate.

I'm in the middle of some other work, so it might be best to create a Savannah bug
(with attachments) so I don't forget the problem.

--
	--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]