Closed
Description
Consider the following snippet:
let _ = ("a" :> int)
In [email protected]
, trying to compile this piece of code will result in the following error:
Type string is not a subtype of int
However, in [email protected]
, the compiler will exit with a Not_found
exception, not showing the real error message.
Repro:
v10.1.2: https://rescript-lang.org/try?version=v10.1.2&code=DYUwLgBA+hC8EAoBEBDJEBcA+CBLAdmAJQBQQA
v11.0.0: https://rescript-lang.org/try?version=v11.0.0&code=DYUwLgBA+hC8EAoBEBDJEBcA+CBLAdmAJQBQQA
Metadata
Metadata
Assignees
Labels
No labels