-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fix polymorphism check and introduce the concept of PolymorphicInstanceSlot
#381
Conversation
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.
Thanks! Just one small question.
settings.gradle
Outdated
@@ -1,7 +1,7 @@ | |||
includeBuild ('../annotation-tools/annotation-file-utilities') { | |||
if (!file('../annotation-tools/annotation-file-utilities').exists()) { | |||
exec { | |||
executable '.ci-build-without-test.sh' | |||
executable './.ci-build-without-test.sh' |
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.
Hi @zcai1 could you break out this change so that we can merge it?
It looks like https://github.com/opprop/value-inference/pull/8/files is failing for this reason, too.
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.
Ok, let me open a new PR
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.
Thanks for #387
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.
Thanks! I'll merge this after #385.
isPolymorphicQualifier
with the real type factory for constant slot.createPolymorphicInstanceSlot
to slot manager since it's not really a source variable. Currently, we are using source variable slot for polymorphic instance because it doesn't affect the inference result.settings.gradle
wasn't working properly under some environments.Note: This PR is related to opprop/ontology#58 since it introduces the polymorphic annotation
@Ontology(values={POLY})