Skip to content

AST: Remove TypeBase::isOpenedExistential() #79659

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

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

slavapestov
Copy link
Contributor

@slavapestov slavapestov commented Feb 27, 2025

Back in 2015 (2217916), OpenedArchetypeType did not exist as a separate subclass of ArchetypeType, so this method did something. Now, it's just equivalent to calling is<> or isa<>.

I also removed a couple of asserts that were obvious no-ops as a result.

At one point, OpenedArchetypeType did not exist as a separate subclass
of ArchetypeType, so this method did something. Now, it's just
equivalent to calling is<> or isa<>.

I also removed a couple of asserts that were obvious no-ops as a result.
@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

Copy link
Contributor

@eeckstein eeckstein left a comment

Choose a reason for hiding this comment

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

lgtm

@slavapestov slavapestov merged commit 74222a6 into swiftlang:main Feb 27, 2025
3 checks passed
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.

3 participants