Skip to content

Commit a7f6e54

Browse files
authored
Merge pull request #71210 from pinkjuice66/swift-syntax-api-changes
[SwiftSyntax] Reflects the API changes in swift-syntax
2 parents bd19d93 + 3105439 commit a7f6e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ASTGen/Sources/ASTGen/ASTGen.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ struct ASTGenVisitor {
7676

7777
let ctx: BridgedASTContext
7878

79-
fileprivate let allocator: SwiftSyntax.BumpPtrAllocator = .init(slabSize: 256)
79+
fileprivate let allocator: SwiftSyntax.BumpPtrAllocator = .init(initialSlabSize: 256)
8080

8181
/// Fallback legacy parser used when ASTGen doesn't have the generate(_:)
8282
/// implementation for the AST node kind.

0 commit comments

Comments
 (0)