Skip to content

7.0.0-dev.2: too strict in duplicate label detection #3996

Closed
@cknitt

Description

@cknitt
type t = {
  [@bs.as "a"]
  a: float,
};

gives the error

  Two labels are named a

which is not correct.

(I know, the bs.as attribute is superfluous here, but this situation can occur easily in generated code. I saw it in the MaterialUI bindings.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions