Skip to content

Commit a422a1e

Browse files
committed
[Test] Update a SILGen test which relies on oldValue not being fetched
1 parent 57bc619 commit a422a1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/SILGen/property_wrapper_observers.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ class Bar {
3535
// CHECK: [[WRAPPED_VALUE_SETTER:%.*]] = function_ref @$s26property_wrapper_observers3FooV12wrappedValueSaySiGvs : $@convention(method) (@owned Array<Int>, @inout Foo) -> ()
3636
// CHECK-NEXT: [[RESULT_WVS:%.*]] = apply [[WRAPPED_VALUE_SETTER]](%{{[0-9]+}}, %{{[0-9]+}}) : $@convention(method) (@owned Array<Int>, @inout Foo) -> ()
3737

38-
// CHECK: [[DIDSET:%.*]] = function_ref @$s26property_wrapper_observers3BarC9someArraySaySiGvW : $@convention(method) (@guaranteed Bar) -> ()
39-
// CHECK-NEXT: [[RESULT_DS:%.*]] = apply [[DIDSET]]([[BAR]]) : $@convention(method) (@guaranteed Bar) -> ()
38+
// CHECK: [[DIDSET:%.*]] = function_ref @$s26property_wrapper_observers3BarC9someArraySaySiGvW : $@convention(method) (@guaranteed Array<Int>, @guaranteed Bar) -> ()
39+
// CHECK-NEXT: [[RESULT_DS:%.*]] = apply [[DIDSET]](%{{[0-9]+}}, [[BAR]]) : $@convention(method) (@guaranteed Array<Int>, @guaranteed Bar) -> ()
4040
// CHECK: }
4141

4242
// Bar.someArray.modify

0 commit comments

Comments
 (0)