Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be able to find corresponding getter/setter given a symbol representing the other of the pair #10029

Closed
alan-knight opened this issue Apr 18, 2013 · 2 comments
Labels
area-library closed-not-planned Closed as we don't intend to take action on the reported issue library-core library-mirrors P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug

Comments

@alan-knight
Copy link
Contributor

Given a symbol for the name of a getter or setter, I would like to be able to find the name for the corresponding setter or getter. Or at least verify if a symbol instance that I have satisfies that property.

This is easily done by getting the name from the symbol and adding or removing =, then constructing a new symbol. However, this is quite space-expensive if the code has been minified. So I would like some mechanism that will work even if the names have been modified without requiring the original names.

It would also be useful to know if a symbol represented a private or public name.

@anders-sandholm
Copy link
Contributor

Added Area-Library label.

@gbracha
Copy link
Contributor

gbracha commented Aug 23, 2013

Set owner to @gbracha.
Added Accepted label.

@kevmoo kevmoo added P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug and removed accepted labels Feb 29, 2016
@a-siva a-siva added the closed-not-planned Closed as we don't intend to take action on the reported issue label Aug 5, 2022
@a-siva a-siva closed this as completed Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-library closed-not-planned Closed as we don't intend to take action on the reported issue library-core library-mirrors P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

5 participants