Skip to content

Commit 050152d

Browse files
authored
Merge pull request #30 from tkelman/patch-1
use more specific version cutoff for macrocall argument change
2 parents ee859c7 + 62911c6 commit 050152d

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)