Skip to content

[Errors] constructor parameter named 'static' #71

Closed
@mhegazy

Description

@mhegazy
'use strict'
// static as constructor parameter name should give error if 'use strict'
class test {
   constructor(static ) { }
   //!!! Identifier expected.
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions