mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
More canonical type preserving.
Swift SVN r6377
This commit is contained in:
@@ -104,8 +104,8 @@ namespace {
|
||||
}
|
||||
|
||||
void visitTupleType(CanTupleType tt) {
|
||||
for (auto &field : tt->getFields()) {
|
||||
visit(CanType(field.getType()));
|
||||
for (auto eltType : tt.getElementTypes()) {
|
||||
visit(eltType);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user