Skip to content

Commit

Permalink
Merge pull request #16 from metaplex-foundation/feature/hashmap-rename
Browse files Browse the repository at this point in the history
Update Maps.swift for hashmap type
  • Loading branch information
ajamaica authored Feb 2, 2023
2 parents dc9859f + 6e19a4b commit e4708bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Beet/Beets/Maps.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
]

0 comments on commit e4708bf

Please sign in to comment.