We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af1b933 commit 545457aCopy full SHA for 545457a
src/reflection.jl
@@ -76,8 +76,9 @@ function format_ex(ex0)
76
# if an expr in place of a variable, skip
77
break
78
end
79
- kw.args[2] = esc(kw.args[2])
80
- kw.head = Symbol("=")
+ # see https://github.com/JuliaLang/julia/pull/41040
+ @static VERSION < v"1.7.0-DEV.1221" && (kw.args[2] = esc(kw.args[2]))
81
+ kw.head = :(=)
82
resize!(ex0[i].args, length(ex0[i].args) - 1)
83
ex = (kw,)..., ex...
84
else
0 commit comments