Closed hadley closed 2 years ago
Will it be confusing that this call in user code
foo(x) <- 2
becomes this in the backtrace?
foo(`*tmp*`) <- `<dbl>`
I guess that's still an improvement.
Maybe we could do better on the R side by propagating the relevant srcref when calling the replacement function? We don't generally use srcrefs for displaying calls in the backtrace though.
Yeah, this no longer seems like a big win to me.
This would be a bit easier to read:
If it was:
But it's not that big of a difference because there's no nice way to display
R7::`@<-.R7_object`