diff options
| author | Michael Sullivan <sully@msully.net> | 2013-07-23 17:01:43 -0700 |
|---|---|---|
| committer | Michael Sullivan <sully@msully.net> | 2013-07-23 17:06:32 -0700 |
| commit | e75ec8015701d4a43ec2644dbbc4a2e051c4f515 (patch) | |
| tree | 6daa4fc861d92567f8c30b8f2e67acc7243960d4 /src/rt/rust_stack.cpp | |
| parent | fbbbc98ea4aaa59c7266ab4b60f18050a046634e (diff) | |
| download | rust-e75ec8015701d4a43ec2644dbbc4a2e051c4f515.tar.gz rust-e75ec8015701d4a43ec2644dbbc4a2e051c4f515.zip | |
Improve vtable resolution.
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.
Diffstat (limited to 'src/rt/rust_stack.cpp')
0 files changed, 0 insertions, 0 deletions
