From 6e19a4bdf42dd29bda6ee5355d9c86277f948c78 Mon Sep 17 00:00:00 2001 From: Arturo Jamaica Date: Thu, 2 Feb 2023 13:32:52 -0600 Subject: [PATCH] Update Maps.swift for hashmap type - Update the map type key from `map` to `hashmap` - Include `hashmap` type in the `mapsTypeMap` [Sources/Beet/Beets/Maps.swift] - Change the map type key from `map` to `hashmap` - Update the `mapsTypeMap` to include `hashmap` type --- Sources/Beet/Beets/Maps.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Beet/Beets/Maps.swift b/Sources/Beet/Beets/Maps.swift index 30bf1a1..4fc0f70 100644 --- a/Sources/Beet/Beets/Maps.swift +++ b/Sources/Beet/Beets/Maps.swift @@ -269,11 +269,11 @@ public class hashmap: FixableBeet { } public enum MapsTypeMapKey: String { - case map + case hashmap } public typealias MapsTypeMap = (MapsTypeMapKey, SupportedTypeDefinition) public let mapsTypeMap: [MapsTypeMap] = [ - (MapsTypeMapKey.map, SupportedTypeDefinition(beet: "map(keyElement: {{innerK}}, valElement: {{innerV}})", isFixable: true, sourcePack: BEET_PACKAGE, swift: "Dictionary")) + (MapsTypeMapKey.hashmap, SupportedTypeDefinition(beet: "hashmap(keyElement: {{innerK}}, valElement: {{innerV}})", isFixable: true, sourcePack: BEET_PACKAGE, swift: "Dictionary")) ]