Skip to content

Commit abbbbab

Browse files
authored
Merge pull request #2798 from mateusrodriguesxyz/replace-self-keypath
Replace self key path as function usage
2 parents ff7f6da + 83c6d40 commit abbbbab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SwiftSyntaxMacroExpansionTest/BodyMacroTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ final class BodyMacroTests: XCTestCase {
178178
} else {
179179
statements
180180
}
181-
return body.map(\.self)
181+
return Array(body)
182182
}
183183
}
184184

0 commit comments

Comments
 (0)