Skip to content

[Spec] Remove limitation on forward referencing parameters in initializers #611

Closed
@danquirk

Description

@danquirk

#610 is removing the following limitation:

6.3 Function Implementations
Initializer expressions are evaluated in the scope of the function body but are not permitted to reference local variables and are only permitted to access parameters that are declared to the left of the parameter they initialize.

#610 (comment)

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issueSpecIssues related to the TypeScript language specification

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions