<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">BTW, regarding JS packages, the ones currently released in opam are < 4.03 only. We do have a version of core and other Jane Street packages that works with 4.03. It's being released [1]. I'm not sure it's working with 4.03.0+trunk though, and it's definitely not working with 4.04. We are thinking of ways to improve compatibility of at least the ppx rewriters</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style=""><font face="arial, helvetica, sans-serif"> [1] <a href="https://github.com/ocaml/opam-repository/pull/6094">https://github.com/ocaml/opam-repository/pull/6094</a></font><br></div><div class="gmail_default" style=""><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 4, 2016 at 6:18 PM, Olivier Nicole <span dir="ltr"><<a href="mailto:olivier.nicole@ensta-paristech.fr" target="_blank">olivier.nicole@ensta-paristech.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 04/04/2016 06:46 PM, Jeremy Yallop wrote:<br>
> On 4 April 2016 at 13:45, Olivier Nicole<br>
> <<a href="mailto:olivier.nicole@ensta-paristech.fr">olivier.nicole@ensta-paristech.fr</a>> wrote:<br>
>> On 04/04/2016 07:36 AM, Jeremy Yallop wrote:<br>
>>> Is your OPAM package list up-to-date? Recent versions of Core (e.g.<br>
>>> 113.33.00) should meet the version constraints for modified trunk<br>
>>> compilers:<br>
>>><br>
>>> <a href="https://github.com/ocaml/opam-repository/blob/master/packages/core/core.113.33.00/opam#L29" rel="noreferrer" target="_blank">https://github.com/ocaml/opam-repository/blob/master/packages/core/core.113.33.00/opam#L29</a><br>
>>><br>
>>> Whether they'll actually build is another question, of course.<br>
>><br>
>> Thank you, I just needed to do an `opam update`. But now the ppx-tools<br>
>> and sexplibs packages fail to build, and I'm quite sure it is not due to<br>
>> my changes in <a href="http://translcore.ml" rel="noreferrer" target="_blank">translcore.ml</a> (I merely changed a condition to `true` so<br>
>> that records are always updated fieldwise). For example, the build of<br>
>> ppx_tools fails with:<br>
>><br>
>> File "src/gen/<a href="http://common.ml" rel="noreferrer" target="_blank">common.ml</a>", line 73, characters 24-34:<br>
>> Error: This expression has type Types.constructor_arguments<br>
>> but an expression was expected of type Types.type_expr list<br>
>><br>
>> Am I missing something or did my changes really break the package?<br>
><br>
> It's quite likely that the released versions of ppx-tools and sexplib<br>
> don't compile with OCaml trunk. Packages that depend on compiler-libs<br>
> tend to break whenever there's a significant change to a module such<br>
> as Parsetree or Types.<br>
><br>
<br>
</span>Working with version 4.02.3 fixed the problem. Thank you!<br>
<br>
Best regards,<br>
<br>
Olivier<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Cam-compiler-hacking mailing list<br>
<a href="mailto:Cam-compiler-hacking@lists.ocaml.org">Cam-compiler-hacking@lists.ocaml.org</a><br>
<a href="http://lists.ocaml.org/listinfo/cam-compiler-hacking" rel="noreferrer" target="_blank">http://lists.ocaml.org/listinfo/cam-compiler-hacking</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Jeremie</div>
</div>