Skip to content

Commit 61935fd

Browse files
committed
Use Json deserialization by default to unblock build.
1 parent e947f3b commit 61935fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/SwiftSyntax/SwiftSyntax.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public final class SyntaxTreeDeserializer {
9292
/// - Returns: A top-level Syntax node representing the contents of the tree,
9393
/// if the parse was successful.
9494
public func deserialize(
95-
_ data: Data, serializationFormat: SerializationFormat
95+
_ data: Data, serializationFormat: SerializationFormat = .json
9696
) throws -> SourceFileSyntax {
9797
reusedNodeIds = []
9898
let rawSyntax: RawSyntax

0 commit comments

Comments
 (0)