Skip to content

Commit 04f3d15

Browse files
amitmurthytkelman
authored andcommitted
fix parametric type definitions for RemoteRef and AbstractChannel
(cherry picked from commit e93465f) ref #13872
1 parent 6fa0f6e commit 04f3d15

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

base/channels.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# This file is a part of Julia. License is MIT: http://julialang.org/license
22

3-
abstract AbstractChannel{T}
3+
abstract AbstractChannel
44

5-
type Channel{T} <: AbstractChannel{T}
5+
type Channel{T} <: AbstractChannel
66
cond_take::Condition # waiting for data to become available
77
cond_put::Condition # waiting for a writeable slot
88
state::Symbol

base/multi.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ end
460460

461461
const client_refs = WeakKeyDict()
462462

463-
type RemoteRef{RemoteStore}
463+
type RemoteRef{T<:AbstractChannel}
464464
where::Int
465465
whence::Int
466466
id::Int

0 commit comments

Comments
 (0)