mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Print array types as [T] instead of T[].
Swift SVN r19195
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user