Skip to content

Class bodies shouldn't reference arguments in 1.11.0 #4320

@monstersintokyo

Description

@monstersintokyo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions