diff --git a/test/rulesets/Base/indexing.jl b/test/rulesets/Base/indexing.jl index e878dd061..19da92022 100644 --- a/test/rulesets/Base/indexing.jl +++ b/test/rulesets/Base/indexing.jl @@ -227,6 +227,8 @@ end # On 1.6, ComposedFunction doesn't take keywords. Only affects this testing strategy, not real use. test_rrule(collect∘eachslice, rand(3, 4, 5); fkwargs = (; dims = 3)) test_rrule(collect∘eachslice, rand(3, 4, 5); fkwargs = (; dims = (2,))) + + test_rrule(collect∘eachslice, FooTwoField.(rand(3, 4, 5), rand(3, 4, 5)); check_inferred = false, fkwargs = (; dims = 3)) end # Make sure pulling back an array that mixes some AbstractZeros in works right