-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I discovered this error in my own application, but I have reproduced it at the Widje example at https://github.com/lynaghk/todoFRP/tree/master/todo/widje
Steps to reproduce:
- Launch the widje To Do application.
- Create three todo items called "a", "b", and "c"
- Delete "c".
- Attempt to edit "b"
- Notice the JavaScript error "No protocol method IDeref.-deref defined for type null:"
Notes:
This seems to be caused by line 62 of widje/core.cljs:
(-value [this] (apply value-func (map deref atoms)))When one of the atoms used in a bound* is a SubAtom produced using bound-coll, it can sometimes attempt to deref a nil atom, leading to the deref error. This seems to only occur after removing an element in the bound collection.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels