New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bug with switchC #53
Comments
In the Any ideas? The added code is essentially here:
The line that triggers the error is here:
It seems to be thrown when the action is run here:
|
This reminds me of #45 |
I believe the problem here is that Cell.apply calls Operational.Value. The initial value is usually returned later because of the spark stream in Operational.Value. However, when this is called during the "last" phase of the transaction, it attempts to send the value through right away, likely before the rest of the listeners have had a chance to register themselves. I'm not sure what can be done to work around this as I don't know enough about the TypeScript implementation. |
I committed a fix for this to the |
Merged, thanks @jam40jeff ! |
discussion @ http://sodium.nz/t/lost-cells-in-switch/267
failing test @
sodium-typescript/src/tests/unit/NestedLift.spec.ts
Line 118 in e4d9f70
The text was updated successfully, but these errors were encountered: