Conversation
|
Hello! I am a bot. Thank you for your pull request! I have assigned
|
|
@kpamnany Can you review this? |
|
FWIW, IIUC, the two aren't exactly identical. Julia is allowed (in future Julia versions) to disable In contrast, IIUC, a typeassert will never be disabled. |
Yeah, I forgot about that when composing the commit message, but I think that's actually the strongest point in favor of this PR. A typeassert to a concrete literal type is free but can improve inference, so it seems like it's preferable to keep the typeassert regardless of optimization level. |
db71ae7 to
2ffeca1
Compare
wait(): just typeassert instead of asserting isawait()
|
I'll remove Kiran's review request, given that Keno is reviewing this PR. I'll also assign this PR to Keno. |
Keno
left a comment
There was a problem hiding this comment.
Two minor comments, LGTM otherwise.
A typeassert seems like better style. Given that `typeassert` is a builtin, why not put it to use. See: * JuliaLang#57544 (comment)
728bc54 to
2edc278
Compare
|
failures look potentially real? |
|
Real failures, but unrelated to the PR |
Follows up on this PR: