Skip to content

Commit 991619d

Browse files
committed
remove comments
1 parent 16575a0 commit 991619d

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

Sources/SyntaxKit/Core/ExprCodeBlockBuilder.swift

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,4 @@ public enum ExprCodeBlockBuilder {
6060
public static func buildEither(second: any ExprCodeBlock) -> any ExprCodeBlock {
6161
second
6262
}
63-
//
64-
// public static func buildOptional(_ expression: (any ExprCodeBlock)?) -> any ExprCodeBlock {
65-
// // This should never be called in practice since we require exactly one expression
66-
// fatalError("ExprCodeBlockBuilder requires exactly one expression")
67-
// }
68-
//
69-
// public static func buildArray(_ expressions: [any ExprCodeBlock]) -> any ExprCodeBlock {
70-
// // This should never be called in practice since we require exactly one expression
71-
// fatalError("ExprCodeBlockBuilder requires exactly one expression")
72-
// }
7363
}

Sources/SyntaxKit/Core/PatternConvertibleBuilder.swift

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -68,18 +68,4 @@ public enum PatternConvertibleBuilder {
6868
{
6969
second
7070
}
71-
72-
// public static func buildOptional(_ pattern: (any CodeBlock & PatternConvertible)?)
73-
// -> any CodeBlock & PatternConvertible
74-
// {
75-
// // This should never be called in practice since we require exactly one pattern
76-
// fatalError("PatternConvertibleBuilder requires exactly one pattern")
77-
// }
78-
//
79-
// public static func buildArray(_ patterns: [any CodeBlock & PatternConvertible]) -> any CodeBlock
80-
// & PatternConvertible
81-
// {
82-
// // This should never be called in practice since we require exactly one pattern
83-
// fatalError("PatternConvertibleBuilder requires exactly one pattern")
84-
// }
8571
}

0 commit comments

Comments
 (0)