Using an "empty pattern" when pattern matching against a record gives the following error message: "File "typecore.ml", line 1234, characters 6-12: Assertion failed". This error message gives no information about which line number or file the issue is happening with, nor does it explain what went wrong.
Example code that reproduces this issue:
This can easily be reproduced by copying the above snippet into the ReScript playground.