You should check the version of the compiler that you are using then (do you have an older system compiler installed for instance?). Your code compiles fine with 4.08.1 .
Oh god.
I am indeed using OCaml 4.8.1, but… with reason syntax on this one. This is my first time using Reason, I just assumed it would be the same. But the lexer was forked before 4.06, so it doesn’t have it ! This also explains why the -w -14 flag will not do anything