You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
results = map(jobs) do job
job => work(job)
end |> Dict
If I try to throw a @showprogress on this, I get an error " ArgumentError: Final argument to @showprogress must be a for loop, comprehension, map, or pmap". This can of course be fixed with a temporary variable, but if it's an easy fix to parse the do block here correctly, it would be more convenient. More importantly, it would prevent confusion from aa somewhat mysterious error message.
The text was updated successfully, but these errors were encountered:
I often have a structures like this in my code
If I try to throw a @showprogress on this, I get an error " ArgumentError: Final argument to @showprogress must be a for loop, comprehension, map, or pmap". This can of course be fixed with a temporary variable, but if it's an easy fix to parse the do block here correctly, it would be more convenient. More importantly, it would prevent confusion from aa somewhat mysterious error message.
The text was updated successfully, but these errors were encountered: