Swift: make extractor compile again after 6.1 upgrade

This commit is contained in:
Paolo Tranquilli
2025-04-15 17:39:23 +02:00
committed by Paolo Tranquilli
parent 37bcedcf11
commit 1ac47a892b
17 changed files with 29 additions and 46 deletions

View File

@@ -1394,7 +1394,7 @@ class MacroRole(AstNode):
"""
kind: int | doc("kind of this macro role (declaration, expression, member, etc.)") | ql.internal
macro_syntax: int | doc("#freestanding or @attached") | ql.internal
conformances: list[TypeExpr] | doc("conformances of this macro role")
conformances: list[Expr] | doc("conformances of this macro role")
names: list[string] | doc("names of this macro role")
class MacroDecl(GenericContext, ValueDecl):