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

Support kind sensitive symbol lookup #28

Open
superkitcath opened this issue Mar 26, 2022 · 0 comments
Open

Support kind sensitive symbol lookup #28

superkitcath opened this issue Mar 26, 2022 · 0 comments

Comments

@superkitcath
Copy link

[Migrated from JIRA ATOM-542]
Symbol lookup is of great importance. We need to resolve to symbols that are not surprising to the users of the language. 

With the new DXC, since it is clang underneath, the rules of C++ will apply for symbol lookup. And these rules are crazy complicated.

take a look:

[https://en.cppreference.com/w/cpp/language/qualified_lookup]

Particularly of interest is: 
lookup of A to the left of :: ignores the variable
This is what I call "kind sensitive". The context changes the "bitmask" of activated symbol that can be resolved. There is none of that mecanism in AZSLc at this moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants