Skip to content

Bug when accessing nested list #179

@sebffischer

Description

@sebffischer

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:

(l$a$b)[1]

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions