fix($parse): do not use locals on field access

Do not use the locals when performing a field access

Closes #5838