Add experimental feature for type witness system inference

This commit is contained in:
Doug Gregor
2022-05-27 11:55:30 -07:00
parent 333ae3f830
commit 8da6caeccd
5 changed files with 9 additions and 9 deletions

View File

@@ -89,6 +89,7 @@ EXPERIMENTAL_FEATURE(NamedOpaqueTypes)
EXPERIMENTAL_FEATURE(FlowSensitiveConcurrencyCaptures)
EXPERIMENTAL_FEATURE(MoveOnly)
EXPERIMENTAL_FEATURE(OneWayClosureParameters)
EXPERIMENTAL_FEATURE(TypeWitnessSystemInference)
#undef EXPERIMENTAL_FEATURE
#undef SUPPRESSIBLE_LANGUAGE_FEATURE

View File

@@ -330,10 +330,6 @@ namespace swift {
/// Enable inference of Sendable conformances for public types.
bool EnableInferPublicSendable = false;
/// Enable experimental associated type inference using type witness
/// systems.
bool EnableExperimentalAssociatedTypeInference = false;
/// Disable the implicit import of the _Concurrency module.
bool DisableImplicitConcurrencyModuleImport =
!SWIFT_IMPLICIT_CONCURRENCY_IMPORT;