-
Notifications
You must be signed in to change notification settings - Fork 1.9k
add QL specification section on module instantiations #13443
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
Conversation
51ab10d to
e5b2fa9
Compare
e5b2fa9 to
1ed3bae
Compare
alexet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but I think there are still some missing parts
For all the bits in the evaluation sections that kind-of happen "after substitution" we probably want something to just state that we handle predicates by using the normal algorithm but replacing all instantiation-relative predicates and types with the actual version. You probably want to say this should happen after we resolve calls and type references but I think we can get away with being a bit vague about precisely what that means.
The section on layer evaluation may want a note that it applies to "fully instantiated" types and predicates.
Otherwise the missing parts are really covered by the general section on components.
33c019c to
0c4eb68
Compare
I have added this in the fifth commit.
Can you elaborate a bit which section you mean and what changes you'd like to see? |
alexet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM
The point I was trying to make is that the sections on Stratification and Layer evaluation only really apply to declared predicates. We don't need to go into great detail but a line saying it works by substituting after resolving is fine. Alternatively we could probably get away with by substituting after resolving types and predicates.
I will consider a follow-up PR to polish the evaluation section (see #13513). |
Uh oh!
There was an error while loading. Please reload this page.