fix issue 6711 - "with" doesn't work with "alias this"

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