-
I don't understand the circumstances in which it fails. Creating a new map is safe, so should be inserting to something we know is a map. Am I missing something? |
Beta Was this translation helpful? Give feedback.
Answered by
filmor
Jun 28, 2023
Replies: 1 comment 2 replies
-
It fails on duplicate keys. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The function just fails, nothing crashes. See https://www.erlang.org/doc/man/erl_nif.html#enif_make_map_from_arrays, which is the underlying function that is exposed here.