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
Refactored duplicate recursive assignment logic in [.data.table and setDT into shared helper (#7064)
* added a helper function 6702
* added nocov
* removed caller
* rm ws diff
* nocov
* not nocov
* message change
* .
* ..
* updated logic
* use a less generic name
* switch to %iscall%
* mention 'i' for more clarity
* better comment
* style nit
* attempt to simplify (i'm probably wrong)
* rm parent.frame() usage
* needs to be parent.frame(2) i think...
* save a line+variable
* final tweak
* OK final-v4-for-real.docx
* changed my mind
* update test error msg
* combine old & new tests
* need data.table() to restore alloccol message consistency
---------
Co-authored-by: Michael Chirico <[email protected]>
if (length(j)!=1L) stopf("Cannot assign to an under-allocated recursively indexed list -- L[[i]][,:=] syntax is only valid when i is length 1, but its length is %d", length(j))
1223
-
j= match(j, names(k))
1224
-
if (is.na(j)) internal_error("item '%s' not found in names of list", origj) # nocov
0 commit comments