eve-native icon indicating copy to clipboard operation
eve-native copied to clipboard

Overcomitting issue

Open cmontella opened this issue 8 years ago • 1 comments

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

cmontella avatar Aug 31 '17 18:08 cmontella

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.

ibdknox avatar Aug 31 '17 18:08 ibdknox