added info about potential error conditions to resolveReferenceMap in ResolveOps