|
118 | 118 |
|
119 | 119 | @testset "Tuples" begin |
120 | 120 | test_to_vec((5, 4)) |
121 | | - # TODO remove "< 1.6" once https://github.com/JuliaLang/julia/issues/40277 |
122 | | - test_to_vec((5, randn(T, 5)); check_inferred = VERSION ≥ v"1.2" && VERSION < v"1.6") |
| 121 | + test_to_vec((5, randn(T, 5)); check_inferred = VERSION ≥ v"1.2") # broken on Julia 1.6.0, fixed on 1.6.1 |
123 | 122 | test_to_vec((randn(T, 4), randn(T, 4, 3, 2), 1); check_inferred=false) |
124 | | - # TODO remove "< 1.6" once https://github.com/JuliaLang/julia/issues/40277 |
125 | | - test_to_vec((5, randn(T, 4, 3, 2), UpperTriangular(randn(T, 4, 4)), 2.5); check_inferred = VERSION ≥ v"1.2" && VERSION < v"1.6") |
| 123 | + test_to_vec((5, randn(T, 4, 3, 2), UpperTriangular(randn(T, 4, 4)), 2.5); check_inferred = VERSION ≥ v"1.2") # broken on Julia 1.6.0, fixed on 1.6.1 |
126 | 124 | test_to_vec(((6, 5), 3, randn(T, 3, 2, 0, 1)); check_inferred=false) |
127 | 125 | test_to_vec((DummyType(randn(T, 2, 7)), DummyType(randn(T, 3, 9)))) |
128 | 126 | test_to_vec((DummyType(randn(T, 3, 2)), randn(T, 11, 8))) |
|
168 | 166 |
|
169 | 167 | @testset "Struct" begin |
170 | 168 | test_to_vec(Composite{ThreeFields}(; a=10.0, b=20.0, c=30.0)) |
171 | | - # TODO remove "< 1.6" once https://github.com/JuliaLang/julia/issues/40277 |
172 | | - test_to_vec(Composite{ThreeFields}(; a=10.0, b=20.0,), check_inferred = VERSION < v"1.6") |
| 169 | + test_to_vec(Composite{ThreeFields}(; a=10.0, b=20.0,)) # broken on Julia 1.6.0, fixed on 1.6.1 |
173 | 170 | test_to_vec(Composite{ThreeFields}(; a=10.0, c=30.0)) |
174 | 171 | test_to_vec(Composite{ThreeFields}(; c=30.0, a=10.0, b=20.0)) |
175 | 172 | end |
|
0 commit comments