mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Make named opaque types an experimental feature
This commit is contained in:
@@ -85,6 +85,7 @@ SUPPRESSIBLE_LANGUAGE_FEATURE(NoAsyncAvailability, 340, "@available(*, noasync)"
|
||||
|
||||
EXPERIMENTAL_FEATURE(StaticAssert)
|
||||
EXPERIMENTAL_FEATURE(VariadicGenerics)
|
||||
EXPERIMENTAL_FEATURE(NamedOpaqueTypes)
|
||||
|
||||
#undef EXPERIMENTAL_FEATURE
|
||||
#undef SUPPRESSIBLE_LANGUAGE_FEATURE
|
||||
|
||||
@@ -317,10 +317,6 @@ namespace swift {
|
||||
/// Enable experimental concurrency model.
|
||||
bool EnableExperimentalConcurrency = false;
|
||||
|
||||
/// Enable experimental support for named opaque result types, e.g.
|
||||
/// `func f() -> <T> T`.
|
||||
bool EnableExperimentalNamedOpaqueTypes = false;
|
||||
|
||||
/// Enable support for implicitly opening existential argument types
|
||||
/// in calls to generic functions.
|
||||
bool EnableOpenedExistentialTypes = false;
|
||||
|
||||
Reference in New Issue
Block a user