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

DeclarationMirrors' qualifiedName is hard to read because it doesn't distinguish library from name. #14005

Closed
lrhn opened this issue Oct 11, 2013 · 0 comments
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-not-planned Closed as we don't intend to take action on the reported issue library-mirrors type-enhancement A request for a change that isn't a bug

Comments

@lrhn
Copy link
Member

lrhn commented Oct 11, 2013

DeclarationMirror's qualifiedName getter returns a symbol with a name that is the concatenation of the library name, enclosing scope name (if any) and the declaration's own name.

That means that you can get a name like "a.b.c" and not know if it's the library "a.b.c" or the variable "c" in the library "a.b".

I suggest changing the result of getName on such a symbol to be, e.g., "a.b#c" and "a.b#Foo#bar", so that it a) doesn't look like correct syntax and b) is easier to understand.

@lrhn lrhn added Type-Enhancement area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-mirrors labels Oct 11, 2013
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed priority-unassigned 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-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-not-planned Closed as we don't intend to take action on the reported issue library-mirrors type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants