Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

馃悰 Parser: Initializers should be allowed for ambientreadonly in TsPropertySignatureClassMember #2958

Closed
1 task done
Boshen opened this issue Jul 29, 2022 · 2 comments 路 Fixed by #4225
Closed
1 task done
Assignees
Labels
A-Parser Area: parser L-TypeScript Area: TypeScript support in Rome S-Bug: confirmed Status: report has been confirmed as a valid bug
Milestone

Comments

@Boshen
Copy link
Contributor

Boshen commented Jul 29, 2022

Environment information

Playground

Found in Babylon.js

What happened?

declare class C {
    readonly name = "initializer";
}

errored with

Initializers are not allowed in ambient contexts

Expected result

No error

Code of Conduct

  • I agree to follow Rome's Code of Conduct
@Boshen Boshen added the S-To triage Status: user report of a possible bug that needs to be triaged label Jul 29, 2022
@Boshen Boshen changed the title 馃悰 Initializers should be allowed for ambientreadonly in TsPropertySignatureClassMember 馃悰 Parser: Initializers should be allowed for ambientreadonly in TsPropertySignatureClassMember Jul 29, 2022
@ematipico ematipico added S-Bug: confirmed Status: report has been confirmed as a valid bug L-TypeScript Area: TypeScript support in Rome A-Parser Area: parser and removed S-To triage Status: user report of a possible bug that needs to be triaged labels Jul 29, 2022
@ematipico ematipico added this to the 0.9.0 milestone Aug 4, 2022
@ematipico ematipico removed this from the 0.9.0 milestone Sep 1, 2022
@github-actions
Copy link

This issue is stale because it has been open 14 days with no activity.

@ematipico ematipico removed the S-Stale label Sep 16, 2022
@ematipico ematipico added this to the 10.0.0 milestone Sep 23, 2022
@github-actions
Copy link

This issue is stale because it has been open 14 days with no activity.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Parser Area: parser L-TypeScript Area: TypeScript support in Rome S-Bug: confirmed Status: report has been confirmed as a valid bug
Projects
Status: Done
5 participants