Skip to content

Commit 089faf8

Browse files
committed
Fixup missing cases
1 parent bb2d977 commit 089faf8

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Sources/SwiftParser/TokenPrecedence.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public enum TokenPrecedence: Comparable {
108108
case // Literals
109109
.floatingLiteral, .integerLiteral, .regexLiteral,
110110
// Pound literals
111-
.poundAvailableKeyword,
111+
.poundAvailableKeyword, .poundSourceLocationKeyword, .poundUnavailableKeyword,
112112
// Identifiers
113113
.dollarIdentifier, .identifier,
114114
// '_' can occur in types to replace a type identifier

Sources/SwiftSyntaxBuilder/ResultBuilderExtensions.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@ extension ConditionElementListBuilder {
4242
public static func buildExpression(_ expression: OptionalBindingConditionSyntax) -> Component {
4343
return buildExpression(ConditionElementSyntax(condition: .optionalBinding(expression)))
4444
}
45-
46-
public static func buildExpression(_ expression: HasSymbolConditionSyntax) -> Component {
47-
return buildExpression(ConditionElementSyntax(condition: .hasSymbol(expression)))
48-
}
4945
}
5046

5147
extension MemberDeclListBuilder {

0 commit comments

Comments
 (0)