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") {
217
217
expectEqual ( 1000 , dx)
218
218
}
219
219
220
- #if REQUIRES_SRxxxx
220
+ #if REQUIRES_SR14042
221
221
// When non-canonicalized generic signatures are used to compare derivative configurations, the
222
222
// `@differentiable` and `@derivative` attributes create separate derivatives, and we get a
223
223
// duplicate symbol error in TBDGen.
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ extension Float: HasFloat {
62
62
init ( float: Float ) { self = float }
63
63
}
64
64
65
- #if REQUIRES_SRxxxx
65
+ #if REQUIRES_SR14042
66
66
ReabstractionE2ETests . test ( " diff param generic => concrete " ) {
67
67
func inner< T: HasFloat > ( x: T ) -> Float {
68
68
7 * x. float * x. float
@@ -82,7 +82,7 @@ ReabstractionE2ETests.test("nondiff param generic => concrete") {
82
82
expectEqual ( Float ( 7 * 2 * 3 ) , gradient ( at: 3 ) { transformed ( $0, 10 ) } )
83
83
}
84
84
85
- #if REQUIRES_SRxxxx
85
+ #if REQUIRES_SR14042
86
86
ReabstractionE2ETests . test ( " diff param and nondiff param generic => concrete " ) {
87
87
func inner< T: HasFloat > ( x: T , y: T ) -> Float {
88
88
7 * x. float * x. float + y. float
@@ -93,7 +93,7 @@ ReabstractionE2ETests.test("diff param and nondiff param generic => concrete") {
93
93
}
94
94
#endif
95
95
96
- #if REQUIRES_SRxxxx
96
+ #if REQUIRES_SR14042
97
97
ReabstractionE2ETests . test ( " result generic => concrete " ) {
98
98
func inner< T: HasFloat > ( x: Float ) -> T {
99
99
T ( float: 7 * x * x)
You can’t perform that action at this time.
0 commit comments