-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve vtable resolution in a handful of ways. First, if we don't find a vtable for a self/param type, do a regular vtable search. This could find impls of the form "impl for A". Second, we don't require that types be fully resolved before looking up subtables, and we process tables in reverse order. This allows us to gain more information about early type parameters based on how they are used by the impls used to resolve later params. Closes #6967, I believe.
- Loading branch information
Showing
1 changed file
with
46 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters