You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# The spawn= keyword argument was added in Julia v1.3, and cannot be used with the
154
168
# deprecated keyword arguments `ctype=` or `csize=`.
155
-
if (ctype !==nothing|| csize !==nothing) && spawn !==nothing
156
-
throw(ArgumentError("Cannot set `spawn=` in the deprecated constructor `Channel(f; ctype=Any, csize=0)`. Please use `Channel{T=Any}(f, size=0; taskref=nothing, spawn=false)` instead!"))
169
+
if (ctype !==nothing|| csize !==nothing) &&(spawn !==nothing|| threadpool !==nothing)
170
+
throw(ArgumentError("Cannot set `spawn=` or `threadpool=` in the deprecated constructor `Channel(f; ctype=Any, csize=0)`. Please use `Channel{T=Any}(f, size=0; taskref=nothing, spawn=false, threadpool=nothing)` instead!"))
157
171
end
158
172
# Set the actual default values for the arguments.
0 commit comments