Skip to content

Commit 62911c6

Browse files
authored
use more specific version cutoff for macrocall argument change
1 parent ee859c7 commit 62911c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/finitestatemachines/transforms.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function transformYield!(expr::Expr, n::UInt8=0x00, super::Expr=:(), line_no::In
6767
insert!(super.args, line_no, :(_fsm._state = 0xff))
6868
end
6969
insert!(super.args, line_no, :(@label $(Symbol("_STATE_",:($n)))))
70-
if VERSION >= v"0.7.0-DEV"
70+
if VERSION >= v"0.7.0-DEV.357" # julia PR #21746
7171
insert!(super.args, line_no, arg.args[3])
7272
else
7373
insert!(super.args, line_no, arg.args[2])

0 commit comments

Comments
 (0)