We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
NSURLComponents.queryItems
md5: f5137ab4273f6549d83d160c846ab96a
Issue Description:
To reproduce in LLDB:
import Foundation let c = NSURLComponents(string: "http://google.com/search/param/hello?q=hi&thing=foo") c?.queryItems // Crash :bt * thread #​1: tid = 28, 0x00007ffff4059330 libFoundation.so`__HALT, name = 'repl_swift', stop reason = signal SIGILL: illegal instruction operand * frame #​0: 0x00007ffff4059330 libFoundation.so`__HALT frame #​1: 0x00007ffff40688c4 libFoundation.so`CFBasicHashAddValue + 228 frame #​2: 0x00007ffff407383e libFoundation.so`CFDictionaryCreate + 286 frame #​3: 0x00007ffff411665d libFoundation.so`_CFURLComponentsCopyQueryItems + 781 frame #​4: 0x00007ffff4328184 libFoundation.so`Foundation.NSURLComponents.queryItems.getter : Swift.Optional<Swift.Array<Foundation.NSURLQueryItem>> + 116 frame #​5: 0x00007ffff7ff4ae8 $__lldb_expr19 frame #​6: 0x0000000000400830 repl_swift`__gmon_start__ + 16
I expect this to return an Optional array of two NSURLQueryItems.
I have no idea what's going wrong here, but I'm tempted to rewrite the copy routine in Swift.
The text was updated successfully, but these errors were encountered:
Comment by sai Hema k (JIRA)
#719 Resolves the issue
Sorry, something went wrong.
No branches or pull requests
Additional Detail from JIRA
md5: f5137ab4273f6549d83d160c846ab96a
Issue Description:
To reproduce in LLDB:
I expect this to return an Optional array of two NSURLQueryItems.
I have no idea what's going wrong here, but I'm tempted to rewrite the copy routine in Swift.
The text was updated successfully, but these errors were encountered: