A set of Swift libraries for parsing, inspecting, generating, and transforming Swift source code.
3.24k
stars
413
forks
source link
Fix issue that caused `AccessorDeclSyntax` initializer with header + body to be misparsed #2739
Closed
ahoppen closed 3 months ago
get {}
was parsed byParser.parseDeclaration()
but it doesn't parse accessors.AccessorDeclSyntax
needs a special implementation ofinit(header:bodyBuilder:)
.rdar://131720084