Skip to content

Swift: make extractor compile again after 6.1 upgrade #19315

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 16 commits into from
Apr 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
class MacroRole extends @macro_role {
string toString() { none() }
}

class ExprOrNone extends @expr_or_none {
string toString() { none() }
}

class TypeExpr extends @type_expr {
string toString() { none() }
}

class UnspecifiedElement extends @unspecified_element {
string toString() { none() }
}

from MacroRole role, int index, ExprOrNone conformance
where
macro_role_conformances(role, index, conformance) and
(conformance instanceof TypeExpr or conformance instanceof UnspecifiedElement)
select role, index, conformance
Loading
Loading