Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@cristianoc

Description

@cristianoc
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").

rescript-lang/rescript-vscode#922

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions