I want to fix a package, and there's a piece of code like this:
# Rule is a struct with field fn::Function
inline_rule(rule::TableRule) = Rule(0, "|") do parser, block
println("flag")
...
end
I changed the println content, but Revise.jl doesn't seem to work. (it works pretty well for other changes, I tried retry but still got no result) Other features show that Revise.jl probably just thought inline_rule as static.
Thanks. This snippet probably isn't enough to develop a test case. If this issue hasn't been fixed on recent versions of Revise, I'd appreciate a runnable, self-contained demo.
I want to fix a package, and there's a piece of code like this:
I changed the
println
content, but Revise.jl doesn't seem to work. (it works pretty well for other changes, I triedretry
but still got no result) Other features show that Revise.jl probably just thoughtinline_rule
as static.