[MLton] parser bug

Matthew Fluet fluet@cs.cornell.edu
Fri, 5 Nov 2004 18:49:18 -0500 (EST)


Cancel that -- I was compiling an out of date file.
I had mistakenly thought that multiple exception declarations were "|"
separated (rather than "and" separated), and forgot to fix the file before
passing it to mlton.

On Fri, 5 Nov 2004, Matthew Fluet wrote:

>
> 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
>
>
> _______________________________________________
> MLton mailing list
> MLton@mlton.org
> http://www.mlton.org/mailman/listinfo/mlton
>