Skip to content

Commit 2b43cfb

Browse files
committed
Eliminate use of implicitly opened existentials
1 parent 0dba9a7 commit 2b43cfb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/SwiftSyntaxMacros/MacroSystem.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,17 @@ struct MacroSystem {
6060
}
6161

6262
/// Syntax rewriter that evaluates any macros encountered along the way.
63-
class MacroApplication: SyntaxRewriter {
63+
class MacroApplication<Context: MacroExpansionContext>: SyntaxRewriter {
6464
let macroSystem: MacroSystem
65-
var context: MacroExpansionContext
65+
var context: Context
6666
var skipNodes: Set<Syntax> = []
6767

6868
/// A stack of member attribute macos to expand when iterating over a `MemberDeclListSyntax`.
6969
var memberAttributeMacros: [([(AttributeSyntax, MemberAttributeMacro.Type)], DeclSyntax)] = []
7070

7171
init(
7272
macroSystem: MacroSystem,
73-
context: MacroExpansionContext
73+
context: Context
7474
) {
7575
self.macroSystem = macroSystem
7676
self.context = context

0 commit comments

Comments
 (0)