Commit Graph

2 Commits

Author SHA1 Message Date
Martin Atkins
b604827bb2 zcl: Automatically convert key types when indexing
For example, if a map is indexed with a number then we'll automatically
convert it to string before attempting to use it as an index.
2017-06-05 07:39:14 -07:00
Martin Atkins
36eacf5110 zcl: Factor the index operation out into its own function
Indexing is pretty fundamental and it's also non-trivial, so having this
exposed will make it easier for it to be implemented consistently across
many different callers, including within calling applications.
2017-06-05 07:31:59 -07:00