In the inheritance section of the docs, private variables are set with <<- instead of <-. I'm not sure why that is and I was unable to find explanations for why in the docs. I reproduced with <- and was able to produce the same result, though I'm also unsure if that's more correct. Would greatly appreciate your insights!
In the inheritance section of the docs, private variables are set with
<<-
instead of<-
. I'm not sure why that is and I was unable to find explanations for why in the docs. I reproduced with<-
and was able to produce the same result, though I'm also unsure if that's more correct. Would greatly appreciate your insights!