Skip to content

Compiler safeguards when defining a __proto__ field #7343

@DZakh

Description

@DZakh

https://rescript-lang.org/try?version=v11.1.4&module=esmodule&code=C4TwDgpgBMULxQN4H1lgE4HtidQLigGdh0BLAOwHMBfAKFoClCA6AG00oAoU0sd8oAIgBmmTIOoBKWkA

It would be nice for compiler to prevent records creation with the __proto__ field name, since it doesn't work in JavaScript.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions