File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ function eager_cleanup(state, uid)
117117 delete!(state. thunk_dict, tid)
118118 end
119119 remotecall_wait(1 , uid) do uid
120- lock(EAGER_THUNK_STREAMS) do global_streams
120+ lock(Dagger . EAGER_THUNK_STREAMS) do global_streams
121121 if haskey(global_streams, uid)
122122 delete!(global_streams, uid)
123123 end
Original file line number Diff line number Diff line change 186186function EagerThunkMetadata(spec:: EagerTaskSpec )
187187 f = chunktype(spec. f). instance
188188 arg_types = ntuple(i-> chunktype(spec. args[i][2 ]), length(spec. args))
189- return_type = Base. _return_type (f, Base . to_tuple_type( arg_types) )
189+ return_type = Base. promote_op (f, arg_types... )
190190 return EagerThunkMetadata(return_type)
191191end
192192chunktype(t:: EagerThunk ) = t. metadata. return_type
You can’t perform that action at this time.
0 commit comments