Skip to content

Invalid change using to_type on non-stored thing #424

@joente

Description

@joente

Describe the bug
Using to_type on a none-stored thing generates an invalid change.

To Reproduce

set_type('T', {name: 'str'});
t = {};
t.to_type('T');
t;

The above may create an empty change and the following should work:

nse();
t = {};
t.to_type('T');
t;

Expected behavior
No change should be created. (nse() should work)

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