Skip to content

Commit

Permalink
fix parametric type definitions for RemoteRef and AbstractChannel
Browse files Browse the repository at this point in the history
  • Loading branch information
amitmurthy committed Nov 4, 2015
1 parent 95b7080 commit e93465f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions base/channels.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This file is a part of Julia. License is MIT: http://julialang.org/license

abstract AbstractChannel{T}
abstract AbstractChannel

type Channel{T} <: AbstractChannel{T}
type Channel{T} <: AbstractChannel
cond_take::Condition # waiting for data to become available
cond_put::Condition # waiting for a writeable slot
state::Symbol
Expand Down
2 changes: 1 addition & 1 deletion base/multi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ end

const client_refs = WeakKeyDict()

type RemoteRef{RemoteStore}
type RemoteRef{T<:AbstractChannel}
where::Int
whence::Int
id::Int
Expand Down

0 comments on commit e93465f

Please sign in to comment.