-
Notifications
You must be signed in to change notification settings - Fork 85
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
SONARPY-1803 Store type definition location in the new type model #1780
Merged
guillaume-dequenne-sonarsource
merged 5 commits into
rnd/type-inference-engine-specification
from
SONARPY-1803
Apr 29, 2024
Merged
SONARPY-1803 Store type definition location in the new type model #1780
guillaume-dequenne-sonarsource
merged 5 commits into
rnd/type-inference-engine-specification
from
SONARPY-1803
Apr 29, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
guillaume-dequenne-sonarsource
force-pushed
the
SONARPY-1803
branch
from
April 29, 2024 11:35
d72e818
to
7878518
Compare
guillaume-dequenne-sonarsource
force-pushed
the
SONARPY-1803
branch
2 times, most recently
from
April 29, 2024 12:57
a890124
to
235aa23
Compare
guillaume-dequenne-sonarsource
force-pushed
the
SONARPY-1803
branch
from
April 29, 2024 13:40
235aa23
to
bf69060
Compare
guillaume-dequenne-sonarsource
requested a review
from maksim-grebeniuk-sonarsource
April 29, 2024 14:29
maksim-grebeniuk-sonarsource
approved these changes
Apr 29, 2024
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
Quality Gate passedIssues Measures |
guillaume-dequenne-sonarsource
merged commit Apr 29, 2024
ee6d13f
into
rnd/type-inference-engine-specification
9 of 10 checks passed
guillaume-dequenne-sonarsource
added a commit
that referenced
this pull request
May 1, 2024
guillaume-dequenne-sonarsource
added a commit
that referenced
this pull request
May 1, 2024
guillaume-dequenne-sonarsource
added a commit
that referenced
this pull request
May 15, 2024
guillaume-dequenne-sonarsource
added a commit
that referenced
this pull request
May 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To be honest I'm not entirely convinced of the proposed solution and I think you made good points in our discussion, so my goal here is to make sure we have a first baby step that can be used in the
NonCallableCalledCheck
and can be revisited later.One thing to note is that both
ObjectType
andClassType
will point to the definition of the class. To be consistent with thedisplayName
implementation,ClassType#definitionLocation
should probably refer to the definition oftype
, however, I didn't think that makes sense (no such definition could be found anyway) so they both return the location of the class definition instead.