Closed mleprovost closed 5 years ago
Hello,
Here is an example of the issue I got:
julia> using Setfield struct AB a end l = @lens _.a julia> obj = AB(3) AB(3) julia> @set obj.a = 42 AB(42) julia> obj AB(3)
I 've hoped that obj will be change to AB(42)
obj
AB(42)
Sorry, I found the answer to my question https://github.com/jw3126/Setfield.jl/issues/22
Hello,
Here is an example of the issue I got:
I 've hoped that
obj
will be change toAB(42)