Skip to content

Commit b3b6894

Browse files
committed
Remove these now-unnecessary autoreleasepools; this seems to no
longer cause problems. rdar://27528234
1 parent e37a890 commit b3b6894

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

validation-test/stdlib/Dictionary.swift

+2-4
Original file line numberDiff line numberDiff line change
@@ -2007,10 +2007,9 @@ DictionaryTestSuite.test("BridgedFromObjC.Nonverbatim.DictionaryIsCopied") {
20072007

20082008

20092009
DictionaryTestSuite.test("BridgedFromObjC.Verbatim.NSDictionaryIsRetained") {
2010-
var nsd: NSDictionary = autoreleasepool {
2010+
var nsd: NSDictionary =
20112011
NSDictionary(dictionary:
20122012
getAsNSDictionary([10: 1010, 20: 1020, 30: 1030]))
2013-
}
20142013

20152014
var d: [NSObject : AnyObject] = convertNSDictionaryToDictionary(nsd)
20162015

@@ -2026,10 +2025,9 @@ DictionaryTestSuite.test("BridgedFromObjC.Verbatim.NSDictionaryIsRetained") {
20262025
}
20272026

20282027
DictionaryTestSuite.test("BridgedFromObjC.Nonverbatim.NSDictionaryIsCopied") {
2029-
var nsd: NSDictionary = autoreleasepool {
2028+
var nsd: NSDictionary =
20302029
NSDictionary(dictionary:
20312030
getAsNSDictionary([10: 1010, 20: 1020, 30: 1030]))
2032-
}
20332031

20342032
var d: [TestBridgedKeyTy : TestBridgedValueTy] =
20352033
convertNSDictionaryToDictionary(nsd)

0 commit comments

Comments
 (0)