Closed gdziadkiewicz closed 1 year ago
The tests are not being executed, see: https://github.com/fsprojects/FSharpx.Collections/actions/runs/2998970505/jobs/4812175674#step:7:307
The tests are not being executed, see: https://github.com/fsprojects/FSharpx.Collections/actions/runs/2998970505/jobs/4812175674#step:7:307
Fixing that in #192
While working on reenabling ignored property tests for monoids based on
ByteString
defined inFSharpx.Extras
I stumbled upon this bug,ByteString
being marked as struct results in it getting a "free" parameterless constructor that creates it with(null, 0, 0
) (defaults forbyte[]
andint
). This constructor is later used to implementByteString.empty
. The problem is that it does not play well with comparison and equality (it is based on comparison).I added test cases that illustrate the issue. Solution finding in progress.