[embedded] Enable support for existentials/boxed protocol types per default

And enable this feature in production.
This commit is contained in:
Arnold Schwaighofer
2025-12-10 08:46:23 -08:00
parent 4d879967a7
commit d019f37b68
13 changed files with 137 additions and 10 deletions

View File

@@ -1,8 +1,10 @@
// RUN: %target-swift-frontend -emit-ir -verify %s -parse-stdlib -enable-experimental-feature Embedded -wmo
// RUN: %target-swift-frontend -emit-ir -verify %s -parse-stdlib -enable-experimental-feature Embedded -wmo -disable-embedded-existentials
// REQUIRES: swift_in_compiler
// REQUIRES: swift_feature_Embedded
// This is only an error if we disable support for existentials in embedded.
public protocol Player {}
struct Concrete: Player {}