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)
Describe the bug
Using to_type on a none-stored thing generates an invalid change.
To Reproduce
The above may create an empty change and the following should work:
Expected behavior
No change should be created. (
nse()should work)