Update: The issues that were listed here were actually different bugs.
The bug below still persists.
> l = list(a = list(b = 1))
$a
$a$b
[1] 1
> l$a$b[1]
NULL
>
But it works like this:
I therefore believe this is due to the parser (?)
When fixing this, tests should also cover that:
l <- (1, ); environment()$l[[1]] and
l <- (1, ); environment()$l[[1]] = 2 work
Update: The issues that were listed here were actually different bugs.
The bug below still persists.
But it works like this:
I therefore believe this is due to the parser (?)
When fixing this, tests should also cover that:
l <- (1, ); environment()$l[[1]]andl <- (1, ); environment()$l[[1]] = 2work