From 3e4e7113bd19044bec99a98aad0e62644def3e10 Mon Sep 17 00:00:00 2001 From: marc hoffman Date: Mon, 15 Jun 2020 09:10:18 -0400 Subject: [PATCH] Had to undo parts of pull request `Minor Dictionary changes #13` because forEach it did not compile. --- Source/Dictionary.swift | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/Dictionary.swift b/Source/Dictionary.swift index 293805b..17e74ff 100755 --- a/Source/Dictionary.swift +++ b/Source/Dictionary.swift @@ -334,12 +334,12 @@ public struct Dictionary /*: INSFastEnumeration*/ dictionary = PlatformDictionary() unique = true } - - public func forEach(_ body: ((key: Key, value: Value)) throws -> Void) rethrows { - for item in self { - try body(item) - } - } + + //public func forEach(_ body: ((key: Key, value: Value)) throws -> Void) rethrows { + //for item in self { + //try body(item) + //} + //} public var count: Int { #if JAVA