We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80a292b commit 8cf7582Copy full SHA for 8cf7582
lib/Macros/Sources/SwiftMacros/SwiftifyImportMacro.swift
@@ -1758,7 +1758,7 @@ func parseProtocolMacroParam(
1758
if let methodSyntax = DeclSyntax("\(raw: methodSignature)").as(FunctionDeclSyntax.self) {
1759
name = methodSyntax.name.trimmed.text
1760
}
1761
- for (tmp, method) in methods where method.name.trimmed.text == name {
+ for (_, method) in methods where method.name.trimmed.text == name {
1762
notes.append(Note(node: Syntax(method.name), message: MacroExpansionNoteMessage("did you mean '\(method.trimmed.description)'?")))
1763
1764
throw DiagnosticError(
0 commit comments