mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Experimental features can only be enabled in non-production (+Asserts) builds. They can be detected with `hasFeature` in the same manner as "future" features. The `-enable-experimental-feature X` flag will also look for future features by that name, so that when an experimental feature becomes an accepted future feature, it will still be enabled in the same manner. Switch variadic generics over to this approach, eliminating the specific LangOption for it.
100 KiB
100 KiB