[m-rev.] for post-commit review: construct initial module_and_imports directly

Julien Fischer jfischer at opturion.com
Mon Apr 22 15:13:04 AEST 2019


On Mon, 22 Apr 2019, Julien Fischer wrote:

> On Sat, 20 Apr 2019, Zoltan Somogyi wrote:
>
>>  For post-commit review by anyone.
>>
>>  I would like everyone to try out the updated compiler on their Mercury
>>  code bases, and report the results: were the sanity checks added
>>  by this diff triggered, or not?
>
> One of them (at least) is being triggered:
>
>    Uncaught Mercury exception:
>    Software Error: predicate
>    `parse_tree.modules.grab_imported_modules_augment'/10: Unexpected: bad
>    IntItems
>    Stack dump not available in this grade.
>
> I'll extract a test case for this one.

Actually, you can ignore that one, it was caused by a foreign_type
pragma being present in a module interface.

Julien.


More information about the reviews mailing list