mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[NCGenerics] enable new associated type inference
The experimental-associated-type-inference flag is needed to correctly build programs when NoncopyableGenerics is enabled.
This commit is contained in:
@@ -609,6 +609,7 @@ function(_compile_swift_files
|
||||
|
||||
if(SWIFT_ENABLE_EXPERIMENTAL_NONCOPYABLE_GENERICS)
|
||||
list(APPEND swift_flags "-enable-experimental-feature" "NoncopyableGenerics")
|
||||
list(APPEND swift_flags "-Xfrontend" "-enable-experimental-associated-type-inference")
|
||||
list(APPEND swift_flags "-Xfrontend" "-disable-round-trip-debug-types") # NOTE: temporary until we fix mangling!
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user