[m-rev.] diff: delete old code generating .int/.int2 files

Peter Wang novalazy at gmail.com
Sat Feb 23 13:00:50 AEDT 2019


On Sat, 23 Feb 2019 12:47:48 +1100 (AEDT), "Zoltan Somogyi" <zoltan.somogyi at runbox.com> wrote:
> 
> 
> On Sat, 23 Feb 2019 12:45:39 +1100, Peter Wang <novalazy at gmail.com> wrote:
> 
> > On Fri, 22 Feb 2019 09:57:30 +1100 (AEDT), "Zoltan Somogyi" <zoltan.somogyi at runbox.com> wrote:
> > > I committed the new code a week ago, and its output has been checked
> > > to be identical to the old code. Has anyone found any situation in which
> > > that sanity check has failed? If noone puts their hand up, I intend to commit
> > > this diff, which deletes both the old code and the sanity check, this evening.
> > 
> > Yes, in some modules using :- pragma foreign_import_module:
> > 
> >     Software Error: predicate `parse_tree.write_module_interface_files.generate_interface_int1_int2'/5: Unexpected: imp item mismatch
> > 
> > I'll try to debug it.
> 
> I am in a much better position to debug it, if you give me the failing program.

Yes, that's what I was going to do ;) But I don't have a small test case
ready.

Here's a program that fails to compile with the same exception:
https://github.com/Cadmium-Language/cadmium

Peter


More information about the reviews mailing list