You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Took me quite a while to realize, but: the culprit are not the tests, it is that some of the test cases work with / result in empty strings, which returns the EmptyString global, and its graphemes are mutated across goroutines.
It would be good to keep empty strings case optimized, but avoid the mutation of it or parts of it (the graphemes iterator)
turbolent
changed the title
Race condition detected during CI
Data race for empty strings
Jul 19, 2024
Current Behavior
Likely to be from
StringValue
.Complete Log
Expected Behavior
No data-races should be present
Steps To Reproduce
see above.
Environment
The text was updated successfully, but these errors were encountered: