Print array types as [T] instead of T[].

Swift SVN r19195
This commit is contained in:
Doug Gregor
2014-06-25 23:59:51 +00:00
parent 0501da8f54
commit 55df89aabe
14 changed files with 75 additions and 85 deletions

View File

@@ -284,7 +284,7 @@ class Derived : Base { }
switch [Derived(), Derived(), Base()] {
case let ds as [Derived]: // expected-error{{downcast pattern value of type 'Derived[]' cannot be used}}
case let ds as [Derived]: // expected-error{{downcast pattern value of type '[Derived]' cannot be used}}
()
default: