Skip to content

Commit e94c1af

Browse files
authored
Merge pull request swiftlang#694 from HassanTaleb90/patch-1
Update Declarations.swift
2 parents fe12b6a + da41b3d commit e94c1af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftParser/Declarations.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ extension Parser {
5151
public mutating func parseDeclaration() -> RawDeclSyntax {
5252
if self.at(.poundIfKeyword) {
5353
return RawDeclSyntax(self.parsePoundIfDirective { parser in
54-
var parsedDecl = parser.parseDeclaration()
54+
let parsedDecl = parser.parseDeclaration()
5555
let semicolon = parser.consume(if: .semicolon)
5656
return RawMemberDeclListItemSyntax(
5757
decl: parsedDecl,

0 commit comments

Comments
 (0)