Closed tlienart closed 5 years ago
Thanks!
test_for should work now in master test_try is modified, Julia v1.1 does no longer support @goto into a catch statement... so I removed this feature...
Can you check?
Great, yes tests pass, there's just a couple of warnings
┌ Warning: @resumable function contains return statement with value!
└ @ ResumableFunctions ~/.julia/dev/ResumableFunctions/src/utils.jl:121
┌ Warning: @resumable function contains return statement with value!
└ @ ResumableFunctions ~/.julia/dev/ResumableFunctions/src/utils.jl:121
but that's it. Closing the issue!
Related to the Mega-Issue https://github.com/JuliaLang/julia/issues/30374.
test_for
this fails on 1.1. However this works:
An issue seems to be with the
transform_for
with the line$next = iterate...
where it looks like the right-hand-side gives anothing
and the left-hand side expects aTuple{Int, Int}
(I don't know enough about macros to know what causes this assignment to fail). The following "fixes" it:test_try
fails with error
syntax: Attempt to jump into catch block
. Not sure what's going on there.