We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5de21b3 + ab2d192 commit 34284ebCopy full SHA for 34284eb
Sources/SwiftIfConfig/IfConfigEvaluation.swift
@@ -717,7 +717,8 @@ extension IfConfigClauseSyntax {
717
/// Determine whether the given expression, when used as the condition in
718
/// an inactive `#if` clause, implies that syntax errors are permitted within
719
/// that region.
720
- static func syntaxErrorsAllowed(
+ @_spi(Compiler)
721
+ public static func syntaxErrorsAllowed(
722
_ condition: some ExprSyntaxProtocol
723
) -> (syntaxErrorsAllowed: Bool, diagnostics: [Diagnostic]) {
724
let (foldedCondition, foldingDiagnostics) = IfConfigClauseSyntax.foldOperators(condition)
0 commit comments