Skip to content

No guaranteed Id when adding a wrapped thing to a list #243

@joente

Description

@joente

Describe the bug
When adding a wrapped-thing to a list, it is not guaranteed that a new Id is created for the underlying thing.

To Reproduce
The following code re-produces the error:

new_type('A');
t = [A{}.wrap()];
.list = [];
.list.push(t);
.list[0][0].unwrap().id();  // should return an Id but nil is returned instead

Expected behavior
Wrapped things should generate an Id when added to a list.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions