RemoteRef constructor is not type-stable #13591 Closed malmaud opened this Issue on Oct 13, 2015 · 3 comments Projects None yet Labels parallel Milestone No milestone Assignees No one assigned 2 participants @malmaud @JeffBezanson Notifications You’re not receiving notifications from this thread. @malmaud malmaud commented on Oct 13, 2015 Maybe add a parameter for the RemoteRef constructor which is the expected return type of the thunk. julia> typeof(RemoteRef(()->Channel{Int}(1))) RemoteRef{Channel{Int64}} julia> typeof(RemoteRef(()->Channel{UTF8String}(1))) RemoteRef{Channel{UTF8String}} @malmaud malmaud added the parallel label on Oct 13, 2015 @JeffBezanson The Julia Language member JeffBezanson commented on Oct 21, 2015 This isn't a bug. @JeffBezanson JeffBezanson closed this on Oct 21, 2015 @malmaud malmaud commented on Oct 21, 2015 I never said it was a bug, but it is a problem if you are explicitly creating a RemoteRef and then take!ing from it within the same function. @malmaud malmaud commented on Oct 22, 2015 Can we maybe reopen this as a performance issue or if not, assign a wont-fix label?