Issue 10506 - Purity should not be checked in a mixin statement

http://d.puremagic.com/issues/show_bug.cgi?id=10506