fix($parse): allow assignment on objects in locals

Fixes #4664 

I saw this issue on the 1.4 list but the fix seems simple...
why not pass the locals in here too?