Skip to content

Commit 8f56717

Browse files
committed
Remove 0.6 deprecations.
1 parent fb52730 commit 8f56717

File tree

7 files changed

+12
-1009
lines changed

7 files changed

+12
-1009
lines changed

base/channels.jl

-12
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,6 @@ mutable struct Channel{T} <: AbstractChannel
4949
end
5050
return ch
5151
end
52-
53-
# deprecated empty constructor
54-
function Channel{T}() where T
55-
depwarn(string("The empty constructor Channel() is deprecated. ",
56-
"The channel size needs to be specified explictly. ",
57-
"Defaulting to Channel{$T}(32)."), :Channel)
58-
Channel(32)
59-
end
6052
end
6153

6254
Channel(sz) = Channel{Any}(sz)
@@ -119,10 +111,6 @@ function Channel(func::Function; ctype=Any, csize=0, taskref=nothing)
119111
end
120112

121113

122-
123-
# deprecated empty constructor
124-
Channel() = Channel{Any}()
125-
126114
closed_exception() = InvalidStateException("Channel is closed.", :closed)
127115

128116
isbuffered(c::Channel) = c.sz_max==0 ? false : true

0 commit comments

Comments
 (0)