- Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScript
Description
TypeScript Version: master, commit 1418fd1
Are abstract getters/setters allowed to have an implementation?
Related: #7184
Code
abstractclassA{private_a: string;abstractgeta(): string{returnthis._a;}abstractseta(newName: string){this._a=newName;}}Expected behavior:
Error on get and set that abstract getters/setters shouldn't have an implementation.
Actual behavior:
No error.
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScript