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.
1 parent a61cd12 commit 416761fCopy full SHA for 416761f
test/stdlib/DictionaryLiteral.swift
@@ -49,8 +49,5 @@ let anNSString = "Foo" as NSString
49
var stringNSStringLet: DictionaryLiteral = [ "a": aString as NSString, "b": anNSString]
50
expectType(DictionaryLiteral<String, NSString>.self, &stringNSStringLet)
51
52
-var hetero1: DictionaryLiteral = ["a": 1 as NSNumber, "b": "Foo" as NSString]
53
-expectType(DictionaryLiteral<String, NSObject>.self, &hetero1)
54
-
55
-var hetero2: DictionaryLiteral = ["a": 1 as NSNumber, "b": "Foo" as NSString]
56
-expectType(DictionaryLiteral<String, NSObject>.self, &hetero2)
+var hetero: DictionaryLiteral = ["a": 1 as NSNumber, "b": "Foo" as NSString]
+expectType(DictionaryLiteral<String, NSObject>.self, &hetero)
0 commit comments