| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
… parameters dont exist
|
What is a "restrictive instantiation"? #46761 doesn't mention that term, and I've personally never heard of it. Is it some kind of internal implementation detail? |
Sorry, something went wrong.
|
It's definitely an implementation detail. It's part of how we check if no instantiation of one thing is assignable to another thing. |
Sorry, something went wrong.
|
Wesley Wigham (@weswigham) I'm going through all the ready-to-merge PRs, and this one is signed off. Is it worth bringing up to date and merging it for 5.1? |
Sorry, something went wrong.
Sorry, something went wrong.
|
All right, this is old and looks like it's obsolete, so I'm going to close it. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Since restrictive instantiations replace type parameter constraints with unknown, if we use them to calculate a distributive constraint, we produce very wrong results. So we try to see if we're looking at such an instantiation when calculating a distributive constraint now, and choose to not yield a constraint if that is the case.
Fixes #46761