FIX: issue #960 (Compiler crash on accessing nested object from function)