Skip to content

AST: rename OpenArchetypeType -> ExistentialArchetypeType #79917

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
Mar 12, 2025

Conversation

eeckstein
Copy link
Contributor

NFC

Suggested by @slavapestov

@eeckstein
Copy link
Contributor Author

@swift-ci test

@slavapestov
Copy link
Contributor

Thanks!

@@ -759,7 +759,7 @@ \section{Source Code Reference}\label{typesourceref}
\item \texttt{ArchetypeType}, and its three subclasses:
\begin{itemize}
\item \texttt{PrimaryArchetypeType},
\item \texttt{OpenedArchetypeType},
\item \texttt{ExistentialArchetypeType},
Copy link
Contributor

Choose a reason for hiding this comment

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

You didn’t have to update this, but thanks! There’s a whole unfinished chapter on existential types I’ll get around to finishing some day…

@@ -114,6 +114,9 @@ enum class TypeKind : uint8_t {
#define TYPE_RANGE(Id, FirstId, LastId) \
First_##Id##Type = FirstId, Last_##Id##Type = LastId,
#include "swift/AST/TypeNodes.def"
// For backward compatibility in LLDB sources.
// TODO: remove this once OpenedArchetype is renamed in LLDB sources.
OpenedArchetype = ExistentialArchetype
Copy link
Contributor

Choose a reason for hiding this comment

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

You could also update lldb at the same time and do a cross-repo test

@eeckstein eeckstein merged commit 47b4493 into swiftlang:main Mar 12, 2025
5 checks passed
@eeckstein eeckstein deleted the rename-opened-archetype-type branch March 12, 2025 05:01
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