[enh] fix issue 658 - struct pointers in with()

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