Skip to content

QL: Make Class.getType() only return ClassType#12671

Merged
asgerf merged 2 commits into
github:mainfrom
asgerf:ql/class-type
Apr 3, 2023
Merged

QL: Make Class.getType() only return ClassType#12671
asgerf merged 2 commits into
github:mainfrom
asgerf:ql/class-type

Conversation

@asgerf
Copy link
Copy Markdown
Contributor

@asgerf asgerf commented Mar 27, 2023

Previously this would return both the ClassCharType and ClassType.

I noticed some FPs when using the DependencyPath.ql query, which were caused by the query assuming that Class.getType() would only return its ClassType. I think that's the more obvious behavior, hence this PR.

Previously this would return both the ClassCharType and ClassType
@asgerf asgerf marked this pull request as ready for review March 27, 2023 12:16
@asgerf asgerf requested review from erik-krogh and tausbn March 31, 2023 09:35
@asgerf asgerf merged commit e5d090c into github:main Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants