Skip to content

Commit 7a0058a

Browse files
committed
Continue iterating if an ExpressionTypeInfo fails to deserialize
1 parent 87dfafb commit 7a0058a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SourceKitLSP/Swift/ExpressionTypeInfo.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ extension SwiftLanguageServer {
8888
skExpressionTypeInfos.forEach { (_, skExpressionTypeInfo) -> Bool in
8989
guard let info = ExpressionTypeInfo(skExpressionTypeInfo, in: snapshot) else {
9090
assert(false, "ExpressionTypeInfo failed to deserialize")
91-
return false
91+
return true
9292
}
9393
expressionTypeInfos.append(info)
9494
return true

0 commit comments

Comments
 (0)