-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[stdlib] Remove invalid _sanityCheck #9815
Conversation
A `Character` _should_ contain only a single grapheme, but we can't formally require it because of grapheme cluster literals and the shifting sands of Unicode. Fixes https://bugs.swift.org/browse/SR-4955
@swift-ci Please smoke test and merge |
This indeed fixed SR-4955 on my machine. |
@palimondo The issue is that our normal perf test run builds without assertions. This was caught by a different bot that we have internally that builds the perf test with assertions. I could move it externally, I just have not gotten around to it. |
@gottesman And the perf-test I get locally out of |
@palimondo Did you do a clean build? If not, look in your build directory for CMakeCache.txt and see what SWIFT_STDLIB_ASSERTIONS is set to. Reconfigs sometimes can cause that value to get out of sync. |
Um... clean build, when? I have never adjusted assertions AFAIK. I did clean build |
@gottesmm While I have your ear... I wrote you an email with request for guidance re: tests and modularization of |
I saw your email. It was a long email, so the response took some thoughts. I kept on getting pulled into things over the weekend so I was unable to. I will finish responding later today. |
A
Character
should contain only a single grapheme, but we can't formally require it because of grapheme cluster literals and the shifting sands of Unicode. Fixes https://bugs.swift.org/browse/SR-4955Note: the stray change in the comment is due to GitHub's editor changing all text from decomposed to precomposed.