Skip to content

Commit

Permalink
Merge pull request #421 from tkoolen/tk/rm-code-warntype
Browse files Browse the repository at this point in the history
Remove "inferabilty of index_sizes helper" testset
  • Loading branch information
andyferris authored May 29, 2018
2 parents 97707ff + c1ff3cd commit b9f091d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/indexing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,4 @@
@test (zeros(0,2)[SVector{0,Int}(),SVector(1)] = 0) == 0
@test (zeros(2,0)[SVector(1),SVector{0,Int}()] = 0) == 0
end

@testset "inferabilty of index_sizes helper" begin
# see JuliaLang/julia#21244
# it's not about inferring the correct type, but about inference throwing an error
@test code_warntype(devnull, StaticArrays.index_sizes, Tuple{Vararg{Any}}) == nothing
end
end

0 comments on commit b9f091d

Please sign in to comment.