Skip to content

Commit

Permalink
work around #20249
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Jan 27, 2017
1 parent b15811a commit 144624e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/nullable.jl
Original file line number Diff line number Diff line change
Expand Up @@ -467,10 +467,10 @@ sqr(x) = x^2
@test Nullable(2) .^ Nullable{Int}() |> isnull_oftype(Int)

# multi-arg broadcast
@test Nullable(1) .+ Nullable(1) .+ Nullable(1) .+ Nullable(1) .+ Nullable(1) .+
Nullable(1) === Nullable(6)
@test Nullable(1) .+ Nullable(1) .+ Nullable(1) .+ Nullable{Int}() .+
Nullable(1) .+ Nullable(1) |> isnull_oftype(Int)
@test (Nullable(1) .+ Nullable(1) .+ Nullable(1) .+ Nullable(1) .+ Nullable(1) .+
Nullable(1) === Nullable(6))
@test (Nullable(1) .+ Nullable(1) .+ Nullable(1) .+ Nullable{Int}() .+
Nullable(1) .+ Nullable(1) |> isnull_oftype(Int))

# these are not inferrable because there are too many arguments
us = map(Nullable, 1:20)
Expand Down

0 comments on commit 144624e

Please sign in to comment.