We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6c6eb1 commit 6416295Copy full SHA for 6416295
Sources/Exercises/Participants/HandWrittenParticipant.swift
@@ -60,7 +60,8 @@ private func graphemeBreakPropertyData(
60
}
61
62
// For testing our framework
63
- if forceFailure, lower == Unicode.Scalar(0x07FD) {
+ let failureSigil = Unicode.Scalar(0x07FD as UInt32)!
64
+ if forceFailure, lower == failureSigil {
65
return nil
66
67
Sources/_StringProcessing/Regex/Match.swift
@@ -41,6 +41,8 @@ extension Regex.Match {
41
from: anyRegexOutput.input
42
)
43
guard let output = typeErasedMatch as? Output else {
44
+ print(typeErasedMatch)
45
+ print(Output.self)
46
fatalError("Internal error: existential cast failed")
47
48
return output
0 commit comments