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
The code runs fine in Xcode 10.1 (Swift 4.2). You'll have to add an extension for the `Character.isASCII` property, which doesn't exist in Swift 4.2. A dummy implementation is good enough:
Environment
Swift 5.0, Xcode 10.2, macOS 10.14.3
Apple Swift version 5.0 (swiftlang-1001.0.69.3 clang-1001.0.47)
Additional Detail from JIRA
md5: 406bc3fa8fe951f827660674e3d9dc0c
relates to:
Issue Description:
This bug is possibly related to SR-10117, which seems to be a similar problem. It's a Swift 5.0 regression.
Run the following code in a playground or in the REPL:
This crashes with a fatal error on the
case .isASCII
line: "load from misaligned raw pointer".Here's the output from the REPL:
The code runs fine in Xcode 10.1 (Swift 4.2). You'll have to add an extension for the `Character.isASCII` property, which doesn't exist in Swift 4.2. A dummy implementation is good enough:
I haven't tested it on master.
The text was updated successfully, but these errors were encountered: