Skip to content

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

Open
@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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions