don't silence TypeErrors in resolve_stubs.