Code methods that update data don't always set / clear the HASREF flag
Created by: nmihai_2000
The Code methods that change the data don't properly set / clear the ref flag.
- setData(value) sets the flag, but does not clear it.
- appends(value) never sets the flag
- the constructor version that takes data never sets the flag
Better explained / reproduced by the attached code.