You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SubMain class must use a getter from a parent class
or
The TS compiler should throw an error that a getter/setter pair should override together
The text was updated successfully, but these errors were encountered:
barkunas
changed the title
The compiler should prohibit overriding only one getter/setter if there is a getter/setter pair in the parent class.
The compiler should prohibit overriding only one setter if there is a getter/setter pair in the parent class.
Mar 10, 2022
Bug Report
🔎 Search Terms
The compiler should prohibit overriding only one setter if there is a getter/setter pair in the parent class.
🕗 Version & Regression Information
This is the behavior in every version I tried, and I reviewed the FAQ for entries about override getters/setters
⏯ Playground Link with absent getter
💻 Code
🙁 Actual behavior
After override SubMain class lost "aaa" property
🙂 Expected behavior
SubMain class must use a getter from a parent class
or
The TS compiler should throw an error that a getter/setter pair should override together
The text was updated successfully, but these errors were encountered: