[m-rev.] for review: pack sub-word-sized integers and dummies

Zoltan Somogyi zoltan.somogyi at runbox.com
Mon May 7 20:17:55 AEST 2018



On Sun, 6 May 2018 19:52:07 -0400 (EDT), Julien Fischer <jfischer at opturion.com> wrote:
> I'm currently bootchecking the C# grade. 

Did it work?

> The Java grade fails
> during compilation of the stage 2 library due to:
> 
>     Making Mercury/javas/jmercury/thread__channel.java
>     Making Mercury/javas/jmercury/thread__future.java
>     Making Mercury/javas/jmercury/thread__mvar.java
>     Making Mercury/javas/jmercury/thread__semaphore.java
>     Making Java class files
>     Mercury/javas/jmercury/erlang_rtti_implementation.java:1481: error:
>     incompatible types: int cannot be converted to Type_info_thunk_0
>        MR_scalar_common_6[0] = new erlang_rtti_implementation.Maybe_pseudo_type_info_0.Plain_1(0);
>                                                                                              ^
>     Mercury/javas/jmercury/erlang_rtti_implementation.java:1528: error:
>     incompatible types: int cannot be converted to Pseudo_type_info_thunk_0
>         MR_scalar_common_14[0] = new erlang_rtti_implementation.Maybe_pseudo_type_info_0.Pseudo_1(0);

The attached diff fixes this.

I expect to have internet access for my laptop for the rest of today,
so I intend to commit this later today after I bootchecked it (I haven't had
time for that yet). If for some reason I cannot do so in about 24 hours,
please commit it for me if it passes your tests.

Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.dummy_tag
Type: application/octet-stream
Size: 311 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20180507/a3e27310/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.dummy_tag
Type: application/octet-stream
Size: 2363 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20180507/a3e27310/attachment-0001.obj>


More information about the reviews mailing list