Skip to content

PrivateMethodOrAccessorAdd call in ClassDefinitionEvaluation can throw #9

@mhofman

Description

@mhofman

Hi you also need to change ! to ? in https://tc39.es/ecma262/#_ref_8028 (ClassDefinitionEvaluation)

Originally posted by @Jack-Works in #6

More precisely, static element evaluations in step 26 (like a static block) can make F non-extensible, which would result in PrivateMethodOrAccessorAdd in step 31 now throwing.

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