they need to reference a local index until the object parsing is complete and also need to check reftype matching