We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca5347a commit 49871bcCopy full SHA for 49871bc
test/AutoDiff/SILOptimizer/differentiation_diagnostics.swift
@@ -826,7 +826,7 @@ struct HasModifyAccessors: Differentiable {
826
// expected-note @+2 {{when differentiating this function definition}}
827
@differentiable(reverse)
828
func testReadAccessorCoroutines(_ x: HasReadAccessors) -> Float {
829
- // expected-note @+1 {{cannot differentiate through a direct yield result}}
+ // expected-note @+1 {{cannot differentiate through a '_read' accessor}}
830
return x.computed
831
}
832
0 commit comments