eve-native
eve-native copied to clipboard
Overcomitting issue
commit
[#system/timer resolution: 1000]
end
search
[#system/timer second]
bind
[#foo time: second]
end
search
foo = [#foo time]
bind
[#html/div text: "{{foo}} {{foo.time}}"]
end
Has output
foo|59| 59
foo|1| 1
foo|2| 2
foo|4| 4
foo|7| 7
foo|8| 8
foo|9| 9
foo|10| 10
foo|11| 11
etc.
expected output is continually replacing the bound div with the current time:
foo|11| 11
This is because the code has both time and foo.time, which means there are two pipes that react to the removal of time, but when #foo is removed first, only one remove happens instead of two.