Skip to content

Commit a30e2dc

Browse files
committed
Comment on what it means for a build configuration operation to throw
1 parent d4409f3 commit a30e2dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/SwiftIfConfig/BuildConfiguration.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ public enum CanImportVersion {
4444
/// be imported is a complicated task only implemented in the Swift compiler.
4545
/// Therefore, queries are permitted to throw an error to report when they
4646
/// cannot answer a query, in which case this error will be reported to
47-
/// the caller.
47+
/// the caller and the condition will be treated as being "false", so the
48+
/// code covered by the condition will be inactive.
4849
public protocol BuildConfiguration {
4950
/// Determine whether a given custom build condition has been set.
5051
///

0 commit comments

Comments
 (0)