-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
status: accepting prsPlease, send a pull request to resolve this! πPlease, send a pull request to resolve this! πtype: bugSomething isn't working :( πSomething isn't working :( π
Description
Bug Report Checklist
- I have tried restarting my IDE and the issue persists.
- I have pulled the latest
mainbranch of the repository. - I have searched for related issues and found none that matched my issue.
Expected
class WaveTracker {
#previouslySeen = new Set<string>();
#repeatedCount = 0;
addAndCheck() {
this.#repeatedCount = 0;
}
}or
class WaveTracker {
#previouslySeen = new Set<string>();
#repeatedCount: number = 0;
addAndCheck() {
this.#repeatedCount = 0;
}
}Actual
class WaveTracker {
#previouslySeen = new Set<string>();
#repeatedCount = 0;
#repeatedCount: number;
#repeatedCount: number;
#repeatedCount: number;
#repeatedCount: number;
#repeatedCount: number;
#repeatedCount: number;
#repeatedCount: number;
#repeatedCount: number;
#repeatedCount: number;
#repeatedCount: number;
#repeatedCount: number;
#repeatedCount: number;
#repeatedCount: number;
#repeatedCount: number;
#repeatedCount: number;
#repeatedCount: number;
#repeatedCount: number;
#repeatedCount: number;
#repeatedCount: number;
addAndCheck() {
this.#repeatedCount = 0;
}
}Additional Info
This can be reproduced by adding below code to missingPropertyAccess test.
class WaveTracker {
#previouslySeen = new Set<string>();
#repeatedCount = 0;
addAndCheck() {
this.#repeatedCount = 0;
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status: accepting prsPlease, send a pull request to resolve this! πPlease, send a pull request to resolve this! πtype: bugSomething isn't working :( πSomething isn't working :( π