Skip to content

Class bodies shouldn't reference arguments in 1.11.0 #4320

Closed
@monstersintokyo

Description

Define a class that defines an arguments object on the class prototype:

class Test
    arguments: null

Since CS 1.11 this is throwing: Class bodies shouldn't reference arguments

While it might be a questionable decision to name a variable like a keyword, the above example should still compile.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions