Open sandro-pasquali opened 8 years ago
@sandro-pasquali How is this supposed to behave like an immutable? The very fact that a generator generates values means that its not static and hence a mutable.
Hm...I honestly have not looked into these things enough to know what the problem could be.
Great library. I have a pretty esoteric case, but the failure seems to be real.
This code:
Fails if wrapped by
Immutable
:I'm not sure if it is the generator or the symbol usage (or computed property keys or the compact object method signature) that's causing the problem.
Running on Node (5.x), with
--harmony
flag. Also,bluebird
is thePromise
implementation.