[m-rev.] for review: read and write bitmaps in bitmap.m

Zoltan Somogyi zoltan.somogyi at runbox.com
Mon Mar 7 07:38:31 AEDT 2022


2022-03-06 12:38 GMT+11:00 "Julien Fischer" <jfischer at opturion.com>:
> Quite a lot fo them seems to be due to the fact that in the invalid
> directory,
> 
>      For more information, recompile with `-E'.
> 
> is not being printed at the end of the output in the Java grade for some
> reason.

Yes, I noticed that too.

We record whether that message should be printed in a mutable,
so I wondered whether there was something wrong with the
implementation of mutables in Java. I extracted the code
dealing with that specific mutable, extra_error_info, from
the Java code generate for globals.m; that code is in the
attached file. I could see nothing wrong with it, but then,
I am not a Java language lawyer. Maybe you two could have
a look at it.

As for why the mutable var has type Object, I just found
the reason in a commit message from 2009. To avoid having
to dig it out again, I just added a pointer to it to the relevant
code in prog_mutable.m.

Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EEI
Type: application/octet-stream
Size: 1983 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20220307/bf0e14d1/attachment.obj>


More information about the reviews mailing list