fix resolve-var handling of property access on local symbols