Issue 11215 - `inout` lose enclosing `shared` on resolution

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