File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ func _Arrays<T>(e: T) {
12
12
// _ = ContiguousArray(count: 1, repeatedValue: e) // xpected-error {{Please use init(repeating:count:) instead}} {{none}}
13
13
// _ = ArraySlice(count: 1, repeatedValue: e) // xpected-error {{Please use init(repeating:count:) instead}} {{none}}
14
14
// _ = Array(count: 1, repeatedValue: e) // xpected-error {{Please use init(repeating:count:) instead}} {{none}}
15
- // The acutall error is: {{argument 'repeatedValue' must precede argument 'count'}}
15
+ // The actual error is: {{argument 'repeatedValue' must precede argument 'count'}}
16
16
17
17
var a = ContiguousArray < T > ( )
18
18
_ = a. removeAtIndex ( 0 ) // expected-error {{'removeAtIndex' has been renamed to 'remove(at:)'}} {{9-22=remove}} {{23-23=at: }} {{none}}
You can’t perform that action at this time.
0 commit comments