hedy
hedy copied to clipboard
[BUG] List assignments are using reference copy, but is that explainable?
Describe the bug I noticed that assignment of a list to a new variable is (just as in python) a reference copy. But with a language like hedy I expect that assignments are always deep copies for mutable data types like lists.
Paste the Hedy code & level
Observed at lvl 18
Expected behavior assignment of a list to new variable should be a deep copy.
What machine and browser you were using (optional) If the issue concerns things in the website, let us know:
- What computer you are using (Windows, Mac, Linux?)
- What browser you were using (Chrome, Edge, Safari)