wip: re-resolve incomplete classes/interfaces in extend/implement declarations (part 1)