See GH-33935

Comment From: sbrannen

Thanks for the PR, @quaff. πŸ‘

However, if we're going to do this, we shouldn't do it only for wrapping. Instead, we should improve the diagnostics for all such cases.

I'm therefore closing as:

  • superseded by #34004

@quaff, if you want to submit a PR for #34004, feel free, and I can assist you with addressing the topic consistently for all use cases. Or... I can pick it up. I'll leave it up to you. πŸ˜‰

Comment From: quaff

@quaff, if you want to submit a PR for #34004, feel free, and I can assist you with addressing the topic consistently for all use cases. Or... I can pick it up. I'll leave it up to you. πŸ˜‰

Yes, I'd like to submit a PR, please review #34006 @sbrannen