Skip to content

Commit e863078

Browse files
mrknaviatesk
andcommitted
Specify type of element that comes from iteration for type stability
Co-authored-by: Shuhei Kadowaki <[email protected]>
1 parent 4064cc3 commit e863078

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

base/task.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ function _wait_multiple(waiting_tasks; all=false, failfast=false)
383383
nremaining::Int = 0
384384

385385
for (i, t) in enumerate(waiting_tasks)
386+
t = t::Task
386387
push!(tasks, t)
387388
if istaskdone(t)
388389
push!(done_mask, true)

0 commit comments

Comments
 (0)