Skip to content

Commit a21bb5e

Browse files
committed
Use preconditionFailure
1 parent b6502e5 commit a21bb5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftIfConfig/IfConfigRewriter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ class ActiveSyntaxRewriter<Configuration: BuildConfiguration>: SyntaxRewriter {
215215
return dropInactive(outerBase: base, postfixIfConfig: postfixIfConfig)
216216
}
217217

218-
assert(false, "Unhandled postfix expression in #if elimination")
218+
preconditionFailure("Unhandled postfix expression in #if elimination")
219219
return base
220220
}
221221

0 commit comments

Comments
 (0)