Parse Paths in extends attributes

Closes #916
This commit is contained in:
Alex Crichton
2018-10-03 00:04:43 -07:00
parent 7ec1511d3d
commit 5df8e20815
5 changed files with 13 additions and 10 deletions

View File

@ -288,7 +288,7 @@ impl ImportedTypes for ast::ImportType {
{
f(&self.rust_name, ImportedTypeKind::Definition);
for class in self.extends.iter() {
f(class, ImportedTypeKind::Reference);
class.imported_types(f);
}
}
}