File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
test/AutoDiff/validation-test Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ DerivativeRegistrationTests.testWithLeakChecking("DerivativeGenericSignature") {
217217 expectEqual ( 1000 , dx)
218218}
219219
220- #if REQUIRES_SRxxxx
220+ #if REQUIRES_SR14042
221221// When non-canonicalized generic signatures are used to compare derivative configurations, the
222222// `@differentiable` and `@derivative` attributes create separate derivatives, and we get a
223223// duplicate symbol error in TBDGen.
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ extension Float: HasFloat {
6262 init ( float: Float ) { self = float }
6363}
6464
65- #if REQUIRES_SRxxxx
65+ #if REQUIRES_SR14042
6666ReabstractionE2ETests . test ( " diff param generic => concrete " ) {
6767 func inner< T: HasFloat > ( x: T ) -> Float {
6868 7 * x. float * x. float
@@ -82,7 +82,7 @@ ReabstractionE2ETests.test("nondiff param generic => concrete") {
8282 expectEqual ( Float ( 7 * 2 * 3 ) , gradient ( at: 3 ) { transformed ( $0, 10 ) } )
8383}
8484
85- #if REQUIRES_SRxxxx
85+ #if REQUIRES_SR14042
8686ReabstractionE2ETests . test ( " diff param and nondiff param generic => concrete " ) {
8787 func inner< T: HasFloat > ( x: T , y: T ) -> Float {
8888 7 * x. float * x. float + y. float
@@ -93,7 +93,7 @@ ReabstractionE2ETests.test("diff param and nondiff param generic => concrete") {
9393}
9494#endif
9595
96- #if REQUIRES_SRxxxx
96+ #if REQUIRES_SR14042
9797ReabstractionE2ETests . test ( " result generic => concrete " ) {
9898 func inner< T: HasFloat > ( x: Float ) -> T {
9999 T ( float: 7 * x * x)
You can’t perform that action at this time.
0 commit comments