Fix totally broken handling of structs with immutable fields, as reported in bug 7398. svn: r354
svn: r232
svn: r3