Check for duplicates
Description
Reproduction steps
- Create a workspace with a single variable of type "Int"
- const variablesMap = workspace.current?.getVariableMap();
variablesMap.changeVariableType(variable, "Bool");
- workspace.current.clear();
Any workaround would be appreciated as it's currently blocking.
Priority
Blocker
Stack trace
react-dom.development.js:12056 Uncaught Error: Non-empty variable map
at _Gb.clear (variable_map.ts:67:13)
at _Ab.clear (workspace.ts:399:26)
at _Ab.clear (workspace_svg.ts:2358:11)
Screenshots
No response
Browsers
No response