Reserved words in stub generator

In the stub generator contribution, a variable was named “val”, which caused Ocaml to fail, since this is a reserved word.

Maybe we can add a warning in case of reserved words, or if it is already the case, to add “val” in the list of reserved words.

4 Likes

Reserved words exist. We’ve added “val” in the list. Thanks

3 Likes