ImmutableDict
is immutable, thus strictly speaking merge!
doesn’t apply to it.
The answer to your original question was also here (found just by looking up “ImmutableDict” here, there are just 4 results): Initialising a dictionary with duplicate keys - #3 by giordano