[MLton] parser bug

Stephen Weeks MLton@mlton.org
Fri, 5 Nov 2004 15:48:29 -0800


> I believe the following program is incorrectly rejected by the MLton
> parser:
> 
> structure Exn1 =
> struct
>    exception EX1 of int and EX2 and EX3 of bool
> end
> 
> structure Exn2 =
> struct
>    exception EX4 of bool and EX5 = Exn1.EX1 and EX6
> end

Odd.  It isn't rejected when I try it.