Skip to content

Commit 9b5a8ad

Browse files
committed
Revert "Make function builders internal"
This reverts commit fe3a245.
1 parent fed652b commit 9b5a8ad

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sources/SwiftSyntaxBuilder/DeclBuildables.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ extension DeclBuildable {
3535
// MARK: - Function Builder
3636

3737
@_functionBuilder
38-
struct DeclListBuilder {
39-
static func buildBlock(_ builders: DeclListBuildable...) -> DeclListBuildable {
38+
public struct DeclListBuilder {
39+
public static func buildBlock(_ builders: DeclListBuildable...) -> DeclListBuildable {
4040
DeclList(builders: builders)
4141
}
4242
}

Sources/SwiftSyntaxBuilder/SyntaxBuildables.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ extension SyntaxBuildable {
3131
// MARK: - Function Builder
3232

3333
@_functionBuilder
34-
struct SyntaxListBuilder {
35-
static func buildBlock(_ builders: SyntaxListBuildable...) -> SyntaxListBuildable {
34+
public struct SyntaxListBuilder {
35+
public static func buildBlock(_ builders: SyntaxListBuildable...) -> SyntaxListBuildable {
3636
SyntaxList(builders: builders)
3737
}
3838
}

0 commit comments

Comments
 (0)