Open-Turing-Project/OpenTuringCompiler — Issue #23: Fix array lengths changing on copy.
Author: trishume
Created: 2012-02-20 15:31:27+00:00
State: open

Currently the array length is copied along with the array data on copy. This can cause memory to be "lost"

For example:
```
var arr : string
arr := "hi"
arr := "eotuhsaoto"
```
will throw an error because it will think the second copy is copying into a buffer that is too small