You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am wondering if a macro for the compatibility of new syntax for outer i = ... would be useful.
for outer i = ... is introduced in Julia 0.7 JuliaLang/julia#22314 in order to distinguish the different behaviours of for i = ... between 0.7 and older versions.
Julia in older versions gives error ERROR: syntax: invalid iteration specification for this new syntax.
The text was updated successfully, but these errors were encountered:
I agree this would be nice to have, but the for outer ... fails at the parser level (on 0.6), so a macro never gets to see it. One could conceivably introduce a @for_outer macro so that
@for_outer i =...begin...end
does the expected. But I'm not sure it's worth it.
I am wondering if a macro for the compatibility of new syntax
for outer i = ...
would be useful.for outer i = ...
is introduced in Julia 0.7 JuliaLang/julia#22314 in order to distinguish the different behaviours offor i = ...
between 0.7 and older versions.Julia in older versions gives error
ERROR: syntax: invalid iteration specification
for this new syntax.The text was updated successfully, but these errors were encountered: