Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.12.0
-
None
Description
For the following exception:
exception Ex { 1: required string message }
The following class and exception are generated:
class ex : object ('a) ... end exception Ex of ex ... (try ... with | ex e -> ...
This is a syntax error as all constructors (like ex) must start with an uppercase letter. It can be fixed by outputting | Ex e -> ....