mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Also make the titles and one line summaries a little more consistent (at least for diagnsotic groups and upcoming language features, haven't gone through the educational notes).
598 B
598 B
Strict language feature enablement (StrictLanguageFeatures)
Warnings for unrecognized feature names in -enable-upcoming-feature or
enable-experimental-feature.
Overview
By default, if an unrecognized feature name is specified with the -enable-upcoming-feature or
-enable-experimental-feature flags, the compiler will ignore it without emitting a diagnostic
since some projects must be simultaneously compatible with multiple versions of the language and
toolchain. This can, however, lead to misspecified features. To diagnose these cases instead, enable
StrictLanguageFeatures.