@@ -254,7 +254,7 @@ Dict{String,Float64} with 3 entries:
254
254
```
255
255
"""
256
256
merge (d:: Associative , others:: Associative... ) =
257
- merge! (emptymergedict (d, others... ), d , others... )
257
+ merge! (_typeddict (d, others... ), others... )
258
258
259
259
"""
260
260
merge(combine, d::Associative, others::Associative...)
@@ -283,16 +283,16 @@ Dict{String,Float64} with 3 entries:
283
283
```
284
284
"""
285
285
merge (combine:: Function , d:: Associative , others:: Associative... ) =
286
- merge! (combine, emptymergedict (d, others... ), d , others... )
286
+ merge! (combine, _typeddict (d, others... ), others... )
287
287
288
288
promoteK (K) = K
289
289
promoteV (V) = V
290
290
promoteK (K, d, ds... ) = promoteK (promote_type (K, keytype (d)), ds... )
291
291
promoteV (V, d, ds... ) = promoteV (promote_type (V, valtype (d)), ds... )
292
- function emptymergedict (d:: Associative , others:: Associative... )
292
+ function _typeddict (d:: Associative , others:: Associative... )
293
293
K = promoteK (keytype (d), others... )
294
294
V = promoteV (valtype (d), others... )
295
- Dict {K,V} ()
295
+ Dict {K,V} (d )
296
296
end
297
297
298
298
"""
0 commit comments