Skip to content

Commit 685f1b0

Browse files
committed
Merge pull request #13872 from JuliaLang/amitm/rrfix
fix parametric type definitions for RemoteRef and AbstractChannel
2 parents 1d270c6 + e93465f commit 685f1b0

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
@@ -465,7 +465,7 @@ end
465465

466466
const client_refs = WeakKeyDict()
467467

468-
type RemoteRef{RemoteStore}
468+
type RemoteRef{T<:AbstractChannel}
469469
where::Int
470470
whence::Int
471471
id::Int

0 commit comments

Comments
 (0)