There was a parser change in v1.12.0 that has been fixed (#59911) and seems to have been finally backported to v1.12.5 (but still not yet to v1.13.0-beta2 by the way). However, things still do not work fully as expected with a larger example, which is given below (and used to work before v1.12).
# v1.11.9 (expected result):
julia> :(x' = A * x)
:(x' = A * x)
# v1.12.4:
julia> :(x' = A * x)
:(x' = begin
#= REPL[1]:1 =#
A * x
end)
# v1.12.5:
julia> :(x' = A * x)
:(x' = (#= REPL[1]:1 =#)(*, A, x))
# v1.13.0-beta2 (only for the record; same as v1.12.4):
julia> :(x' = A * x)
:(x' = begin
#= REPL[1]:1 =#
A * x
end)
As the OP in #59911, I would mainly like to know whether this is the new intended behavior or considered an unintended change that is going to be changed back.
There was a parser change in v1.12.0 that has been fixed (#59911) and seems to have been finally backported to v1.12.5 (but still not yet to v1.13.0-beta2 by the way). However, things still do not work fully as expected with a larger example, which is given below (and used to work before v1.12).
As the OP in #59911, I would mainly like to know whether this is the new intended behavior or considered an unintended change that is going to be changed back.