Skip to content

Commit d60b00d

Browse files
committed
Update another test per the removal of the "Any" parameter hack
1 parent 2975237 commit d60b00d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ClangImporter/objc_parse.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func keyedSubscripting(_ b: B, idx: A, a: A) {
178178
dict[NSString()] = a
179179
let value = dict[NSString()]
180180

181-
dict[nil] = a // expected-error {{cannot assign value of type 'A' to type 'Any?'}}
181+
dict[nil] = a // expected-error {{ambiguous subscript with base type 'NSMutableDictionary' and index type '_'}}
182182
let q = dict[nil] // expected-error {{ambiguous subscript}}
183183
_ = q
184184
}

0 commit comments

Comments
 (0)