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
When you have a paired getter and setter on a class or object they loose their name. If you have an object with a setter on it, it is never parser out.
Description:
When you have a paired getter and setter on a class or object they loose their name. If you have an object with a setter on it, it is never parser out.
Failing Spec:
Playground Link:
https://structured-types.vercel.app/?code=%22export%20const%20bar%20%3D%20%7B%5Cn%20%20get%20foo%28%29%3A%20string%20%7B%5Cn%20%20%20%20return%20%27ss%27%5Cn%20%20%7D%2C%5Cn%20%20%5Cn%20%20set%20foo%28foo%3A%20string%29%20%7B%5Cn%5Cn%20%20%7D%5Cn%7D%5Cn%5Cnexport%20class%20Example%20%7B%5Cn%20%20get%20foo%28%29%3A%20string%20%7B%5Cn%20%20%20%20return%20%27ss%27%5Cn%20%20%7D%2C%5Cn%20%20%5Cn%20%20set%20foo%28foo%3A%20string%29%3A%20void%20%7B%5Cn%5Cn%20%20%7D%5Cn%7D%22
Expectation
The getter setter should be parsed out like all other properties.
The text was updated successfully, but these errors were encountered: