[MLton] Bug in MLton.Pointer on amd64

Florian Weimer fw at deneb.enyo.de
Sun Jul 29 07:51:54 PDT 2007


This program

  val false = MLton.Pointer.sub (MLton.Pointer.null, 0w1)
	      = MLton.Pointer.add (MLton.Pointer.null, 0w1)

should run without output, but it raises the Bind exception instead.
It appears that

  MLton.Pointer.sub (MLton.Pointer.null, 0w1)

is not the all-ones address, but the address 0x1.



More information about the MLton mailing list