Here is error 27, displayed correctly with its message:

However this is what gets displayed for warning 23:

The reason I know that warning 23 is missing is because this is the message that is displayed in VSCode on the same code:

I am an ocaml noob but please let me know if you require any more information