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

[module.reach] p3 "any" is ambiguity in the rule #5549

Open
xmh0511 opened this issue Jul 4, 2022 · 0 comments
Open

[module.reach] p3 "any" is ambiguity in the rule #5549

xmh0511 opened this issue Jul 4, 2022 · 0 comments

Comments

@xmh0511
Copy link
Contributor

xmh0511 commented Jul 4, 2022

[module.reach] p3 says

A declaration is reachable if it is reachable from any point in the instantiation context ([module.context]).

Does "any" in the rule mean

option a

there exists a point from which it is reachable

or

option b

The declaration is reachable from all points in the instantiation context such that the declaration can be reachable from an arbitrary point?

According to the example in [module.context] p7, option a seems to be the right intent. [module.reach] p3 may be an improvement if it is

A declaration is reachable if there exists a point in the instantiation context ([module.context]) from which the declaration is reachable.

@xmh0511 xmh0511 changed the title [module.reach] p3 "any" is ambiguti\ [module.reach] p3 "any" is ambiguity in the rule Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant