From e93465fdb54cdd6bb4fa9f10996312ba1b19308f Mon Sep 17 00:00:00 2001 From: Amit Murthy Date: Wed, 4 Nov 2015 17:19:33 +0530 Subject: [PATCH] fix parametric type definitions for RemoteRef and AbstractChannel --- base/channels.jl | 4 ++-- base/multi.jl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/base/channels.jl b/base/channels.jl index 409965540a770..ea320c78d64a5 100644 --- a/base/channels.jl +++ b/base/channels.jl @@ -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 diff --git a/base/multi.jl b/base/multi.jl index 1ab53cdaa577f..989cd42f24a4d 100644 --- a/base/multi.jl +++ b/base/multi.jl @@ -465,7 +465,7 @@ end const client_refs = WeakKeyDict() -type RemoteRef{RemoteStore} +type RemoteRef{T<:AbstractChannel} where::Int whence::Int id::Int