Issue 12131 - Struct assign purity error

https://d.puremagic.com/issues/show_bug.cgi?id=12131