Visitar URL original
Shared: use final class aliases to use `extends` instead of `instanceof` in the shared libraries by erik-krogh · Pull Request #13488 · github/codeql · GitHub
The Wayback Machine - https://web.archive.org/web/20260105125114/https://github.com/github/codeql/pull/13488
Skip to content

Conversation

@erik-krogh
Copy link
Contributor

@erik-krogh erik-krogh commented Jun 17, 2023 •

This allows the implementation to inherit the implementations from the super class, instead of having to insert predicates like:

string toString() { result = super.toString() }

@erik-krogh erik-krogh requested a review from aibaars September 18, 2023 08:36
@erik-krogh erik-krogh marked this pull request as ready for review September 18, 2023 08:36
Copy link
Contributor

@aschackmull aschackmull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@erik-krogh erik-krogh merged commit 998237e into github:main Sep 18, 2023
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

Successfully merging this pull request may close these issues.

2 participants