This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Internal Error at compile time - Suggestions?
- From: Per Bothner <per at bothner dot com>
- To: Ben Simon <benjisimon at gmail dot com>
- Cc: kawa <kawa at sourceware dot org>
- Date: Thu, 19 Nov 2015 21:03:46 -0800
- Subject: Re: Internal Error at compile time - Suggestions?
- Authentication-results: sourceware.org; auth=none
- References: <CAEE0d3C5ZzdNk-HOHcMiwAvSqwuVaroaFqPEic3mW3sO40R1TQ at mail dot gmail dot com> <CAEE0d3AmS453gB7Gfuy+iUwkaDVtAxaYepBFTRT7psshVG2yjQ at mail dot gmail dot com> <564D1DF7 dot 1080909 at bothner dot com> <CAEE0d3C5Giay31T5VTHHvYnKoyW5_wk19v+v1kpku5jH9afaOw at mail dot gmail dot com>
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/