Closed
Description
What happened
In V4 RC9, using an OrderedMap.concat
fails. I'm looking into #1373 as a potential bad merge, where .concat
was supposed to alias .merge
but something didn't go as planned.
How to reproduce
Given a package.json:
{
"name": "immmutable-bug-simple",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
"immutable": "^4.0.0-rc.9"
}
}
and an index.js of
const immutable = require('immutable');
const orderedMap = immutable.OrderedMap();
const orderedMap2 = immutable.OrderedMap();
orderedMap.concat(orderedMap2)
I get:
TypeError: orderedMap.concat is not a function
at Object.<anonymous> (/Users/rb/code/experiment/immmutable-bug-simple/index.js:5:12)
Metadata
Metadata
Assignees
Labels
No labels