Skip to content

Commit 49871bc

Browse files
authored
Update test
1 parent ca5347a commit 49871bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/AutoDiff/SILOptimizer/differentiation_diagnostics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ struct HasModifyAccessors: Differentiable {
826826
// expected-note @+2 {{when differentiating this function definition}}
827827
@differentiable(reverse)
828828
func testReadAccessorCoroutines(_ x: HasReadAccessors) -> Float {
829-
// expected-note @+1 {{cannot differentiate through a direct yield result}}
829+
// expected-note @+1 {{cannot differentiate through a '_read' accessor}}
830830
return x.computed
831831
}
832832

0 commit comments

Comments
 (0)