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
SR-9308 Crash on accessing internal(set) + didSet from @inlinable function
Issue Description:
`private(set)` properties attributed by `@usableFromInline` can be mutated in `@inlinable` functions currently, in Swift 4.2.
publicstructFoo{@usableFromInlineinternalprivate(set)vara:Int=42@inlinablepublicmutatingfunc f()->Int{
a +=1// Should cause a compilation errorreturn a
}}
The text was updated successfully, but these errors were encountered:
Environment
Xcode Version 10.0 (10A255)
Additional Detail from JIRA
md5: b630f4cc490fb1ab9b70020ac8899c7e
is duplicated by:
Issue Description:
`private(set)` properties attributed by `@usableFromInline` can be mutated in `@inlinable` functions currently, in Swift 4.2.
The text was updated successfully, but these errors were encountered: