diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-01-16 18:45:05 -0800 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-01-29 20:33:22 -0800 |
| commit | a30ea013f5b88f136438931328ee859ee4e5eff3 (patch) | |
| tree | 09ef3f359c3a4d9ab71196c2b5a0a3d1b1cb49b1 /src/rt/rust_kernel.cpp | |
| parent | b927e48a26036f62299fe51b7c70141482dbf041 (diff) | |
| download | rust-a30ea013f5b88f136438931328ee859ee4e5eff3.tar.gz rust-a30ea013f5b88f136438931328ee859ee4e5eff3.zip | |
Handle supertrait calls in default methods
Add a new method_super origin for supertrait methods. Also make coherence create a table that maps pairs of trait IDs and self types to impl IDs, so that it's possible to check a supertrait method knowing only its index in its trait's methods (without knowing all supertraits for a given trait). r=nmatsakis and graydon -- with hope, we'll revamp all of this code as per #4678, but for now this fixes the bug. Closes #3979
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
