rescript-compiler
rescript-compiler copied to clipboard
Type errors about inconsistent internal representations for variants do not describe the representation
Type declarations do not match:
type tokenType = Bearer
is not included in
type tokenType = Bearer
The internal representations for case Bearer are not equal.
The type definition in the error message should include @as("bearer")
.
https://github.com/rescript-lang/rescript-vscode/issues/922