mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Typechecker] Implement SE-0268 Refine didSet Semantics (#26632)
This commit is contained in:
@@ -30,7 +30,7 @@ public struct Foo: Hashable {
|
||||
|
||||
// CHECK: public var hasDidSet: Swift.Int {
|
||||
public var hasDidSet: Int {
|
||||
// CHECK-NEXT: @_transparent get{{$}}
|
||||
// CHECK-NEXT: get{{$}}
|
||||
// CHECK-NEXT: set{{(\(value\))?}}{{$}}
|
||||
// CHECK-NOT: didSet
|
||||
didSet {
|
||||
|
||||
Reference in New Issue
Block a user