More canonical type preserving.

Swift SVN r6377
This commit is contained in:
John McCall
2013-07-19 07:08:38 +00:00
parent 4b4e7d0833
commit 69b64a09ce
17 changed files with 218 additions and 144 deletions

View File

@@ -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);
}
}
};