Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
errors: As should allow target to be a nil pointer to a concrete type #31541
What did you do?
What did you expect to see?
For this specific example:
What did you see instead?
This is the documented behavior of
So what should the
An aside: the
Should that be "assignable through"? It only matches if the given error (or an unwrapped error) can be assigned to the "element" value of target. This seems like it needs some clarification.