Closed easiwriter closed 1 month ago
Hi @easiwriter, I am not able to reproduce this. It passes just fine for me:
And fwiw, these tests run on CI with every PR and they have been passing for a long time. Can you provide some proof of the crash?
I'm not sure this is an issue with the library, and so for now I am going to convert it to a discussion. Feel free to continue the conversation over there.
Description
Running StandupsListTest crashes consistently at line 521 of the extension to OrderedSet. It looks to me as though some code is missing from the guard statement because when _elements has zero items it attempts to remove item[0].
Checklist
main
branch of this package.Expected behavior
I'd expect the test to complete normally
Actual behavior
It crashes as described above
Steps to reproduce
Just run the test
The Composable Architecture version information
1.14.0
Destination operating system
IOS 17
Xcode version information
Xcode 15.5
Swift Compiler version information