Skip to content

Commit 7be83da

Browse files
authored
Merge pull request #41769 from CodaFi/silt
Un-XFAIL Stdlib Validation Test
2 parents ea355fd + 1afdb47 commit 7be83da

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

lib/AST/ASTPrinter.cpp

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6196,8 +6196,14 @@ class TypePrinter : public TypeVisitor<TypePrinter> {
61966196
}
61976197

61986198
void visitVariadicSequenceType(VariadicSequenceType *T) {
6199-
visit(T->getBaseType());
6200-
Printer << "...";
6199+
if (Options.PrintForSIL) {
6200+
Printer << "[";
6201+
visit(T->getBaseType());
6202+
Printer << "]";
6203+
} else {
6204+
visit(T->getBaseType());
6205+
Printer << "...";
6206+
}
62016207
}
62026208

62036209
void visitProtocolType(ProtocolType *T) {

validation-test/SIL/parse_stdlib.sil

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@
33
// RUN: %target-sil-opt -enable-sil-verify-all=true %t.sil > /dev/null
44
// REQUIRES: long_test
55
// REQUIRES: nonexecutable_test
6-
// REQUIRES: rdar81658645

0 commit comments

Comments
 (0)