[MLton-user] Compilation fail with "x_0 has no replacement property"

Matthew Fluet matthew.fluet at gmail.com
Fri Feb 18 13:27:08 PST 2011


Thanks for the bug report.  This was a bug with the handling of weak
pointers to non-heap allocated values (such as integers).  I've
committed a fix, which includes a few more details:
  http://mlton.org/cgi-bin/viewsvn.cgi?rev=7502&view=rev

On Thu, Feb 17, 2011 at 5:25 AM, Alexandre Hamez
<alexandre.hamez at gmail.com> wrote:
> Hello,
>
>        When I compile the attached program, I've got the following message: "x_0 has no replacement property".  The compilation stops right after this message. In the attached file, on line 9, if you comment the '+ 1' part, it compiles.
>
> Regards,
> ---------------------
> Alexandre Hamez
>
> (The .zip file contains the .sml program, the .mlb to compile and the compiler output with -verbose 2)
>
>
> _______________________________________________
> MLton-user mailing list
> MLton-user at mlton.org
> http://mlton.org/mailman/listinfo/mlton-user
>



More information about the MLton-user mailing list