Yep, that kind of code is not legal in setters (nor getters). On the bright side, I fixed your test and was able to reproduce the bug. I was then able to fix it.