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.
2 parents 73e1090 + 416761f commit f79aca8Copy full SHA for f79aca8
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