Resolve names in try statement