Closed hadley closed 7 years ago
Doesn't seem to be necessary
library(R6)
A <- R6Class("A", public = list(A = 1))
B <- R6Class("B", public = list(B = 2), inherit = A)
b <- B$new()
.DollarNames(b)
#> [1] ".__enclos_env__" "B" "A" "clone"
So that autocomplete gives a full list of all fields/methods, not just those in the highest class.