Skip to content

Commit dc32e1b

Browse files
committed
Remove force unwrapping for source location
Companion of swiftlang/swift-syntax#1532
1 parent 8ff0e9a commit dc32e1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ASTGen/Sources/ASTGen/PluginHost.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ extension PluginMessage.Syntax {
352352
fileID: fileID,
353353
fileName: fileName,
354354
offset: loc.offset,
355-
line: loc.line!,
356-
column: loc.column!))
355+
line: loc.line,
356+
column: loc.column))
357357
}
358358
}

0 commit comments

Comments
 (0)