Strangely makning a function

function keys(D::RemoteRef{DictChannel})
    keys(D.d)
end

Gives also error:

LoadError: type RemoteRef has no field d

Also, for the function put! That does work the function looks like:

function put!(D::DictChannel, k, v)
    D.d[k] = v
    notify(D.cond_take)
    D
end

It just makes no sense to me way keys(D.d) Should not work in the same way. 

Reply via email to