We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea355fd + 1afdb47 commit 7be83daCopy full SHA for 7be83da
lib/AST/ASTPrinter.cpp
@@ -6196,8 +6196,14 @@ class TypePrinter : public TypeVisitor<TypePrinter> {
6196
}
6197
6198
void visitVariadicSequenceType(VariadicSequenceType *T) {
6199
- visit(T->getBaseType());
6200
- Printer << "...";
+ if (Options.PrintForSIL) {
+ Printer << "[";
6201
+ visit(T->getBaseType());
6202
+ Printer << "]";
6203
+ } else {
6204
6205
+ Printer << "...";
6206
+ }
6207
6208
6209
void visitProtocolType(ProtocolType *T) {
validation-test/SIL/parse_stdlib.sil
@@ -3,4 +3,3 @@
3
// RUN: %target-sil-opt -enable-sil-verify-all=true %t.sil > /dev/null
4
// REQUIRES: long_test
5
// REQUIRES: nonexecutable_test
6
-// REQUIRES: rdar81658645
0 commit comments