Discussion:
[julia-users] Expression parsed differently in Julia 0.3 vs Julia 0.4
Mathew
2015-07-31 16:27:41 UTC
Permalink
The expression

e = :(x&c = b)


returns in Julia 0.3


:(x & c = b)
with e.args[2] equal to :b

but in Julia 0.4

:(x & c = begin # none, line 1:

b

end)
with e.args[2] equal to quote b end.

I relied on such expressions to denote instrumental variables in formulas
for a package <https://github.com/matthieugomez/FixedEffectModels.jl>.

Why was this behavior changed? What would be a good fix in my case?
Loading...