Fix widening in object literal property assignments

Fixes #521.

With this change we no longer widen the type directly associated with a symbol declared by a property assignment in an object literal. This fix has no effect on batch compilation, but it fixes the incorrect `any` types reported by the TypeWriter and the language service.
Actually can you just add a comment saying that if we are resolving an object literal, we should never get here.