Closed JAicewizard closed 10 months ago
Wait so what syntqx was wrong? Does the ... = x + y == z do ... = x + 1? That wouldn't make sense i guess
The syntax issue is with ..clear()
. Since it returns the object after clearing the List. The rest is just making it a bit cleaner
Ah that explains it yeah, good find
Maybe a test would be good?
Implemented the test, based on a new PR #472
Closes #468.
Summary
Previously, a mistake in interpreting the dart syntax led to previous events being cleared before using them.
How to test
Steps to test the changes you made: