Skip to content

Commit 31ff678

Browse files
committed
Describe the behavior for specifying invalid mode
1 parent c6039af commit 31ff678

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

proposals/NNNN-adoption-tooling-for-swift-features.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ For example:
148148
-enable-upcoming-feature InternalImportsByDefault:adoption
149149
```
150150

151+
If the specified mode is invalid, the flag will be ignored, and a warning will
152+
be emitted. This warning will belong to the `StrictLanguageFeatures` diagnostic
153+
group.
151154
In a series of either of these options applied to a given feature, only the
152155
last option will be honored.
153156
If an upcoming feature is both implied by the effective language mode and

0 commit comments

Comments
 (0)