Skip to content

Commit f3fa1be

Browse files
committed
Mark @SVector [;] as broken.
The constructor is missing for empty `SVector`. Would be fixed in future PRs. Thus just mark it as broken.
1 parent e187648 commit f3fa1be

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/MVector.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
@test ((@MVector Float64[1;2;3;;;])::MVector{3}).data === (1.0, 2.0, 3.0)
5656
@test ((@MVector [1;2;3;;;])::MVector{3}).data === (1, 2, 3)
5757
# @test ((@MVector [;])::MVector{0}).data === ()
58-
@eval @test ((@MVector $(Expr(:ncat, 1)))::MVector{0}).data === ()
58+
@eval @test_broken ((@MVector $(Expr(:ncat, 1)))::MVector{0}).data === ()
5959
# test_expand_error(:(@MVector [;;]))
6060
@eval test_expand_error(:(@MVector $(Expr(:ncat, 2))))
6161
end

test/SVector.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
@test ((@SVector Float64[1;2;3;;;])::SVector{3}).data === (1.0, 2.0, 3.0)
6565
@test ((@SVector [1;2;3;;;])::SVector{3}).data === (1, 2, 3)
6666
# @test ((@SVector [;])::SVector{0}).data === ()
67-
@eval @test ((@SVector $(Expr(:ncat, 1)))::SVector{0}).data === ()
67+
@eval @test_broken ((@SVector $(Expr(:ncat, 1)))::SVector{0}).data === ()
6868
# test_expand_error(:(@SVector [;;]))
6969
@eval test_expand_error(:(@SVector $(Expr(:ncat, 2))))
7070
end

0 commit comments

Comments
 (0)