You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sema: Use VarDecl::isLayoutExposedToClients() when checking if @_spi attribute is allowed
We need to prohibit 'lazy' properties and property wrappers from
being declared @_spi inside of a @Frozen struct. Making them SPI
doesn't make sense, because these properties will be omitted from the
module interface and not taken into account when clients manipulate
values of this type.
0 commit comments