Commits

Rob Simmons committed b0096b4

in 'val x = () and y = (), the 'y' token is no longer lexed incorrectly as a function

Comments (0)

Files changed (1)

tests/examplefiles/example.sml

 and h x = raise Foo (~x)
 
 val x = 4
-and y = 5 (* Currently wrong, but weird enough that maybe I don't care *)
+and y = 5
 
 fun q 0 = 4
   | q 1 = (case 1 of 1 => 2 | 3 => 4 | x => y)