rescript-compiler icon indicating copy to clipboard operation
rescript-compiler copied to clipboard

Type errors about inconsistent internal representations for variants do not describe the representation

Open cristianoc opened this issue 6 months ago • 0 comments

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

cristianoc avatar Feb 27 '24 17:02 cristianoc