Infer object's location from the parent code object as a fallback.
Infer object's location from the parent code object as a fallback.

This fixes errors when trying to use constants as functions' bodies.

pyos/dg