Code methods that update data don't always set / clear the HASREF flag
Issue #749
new
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.