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
md5: 12829dceff23b892b48ac0f50490b8ff
Issue Description:
With this code:
struct Foo { init(a: String) {} } _ = Foo(a: "")
If you do a sourcekit index request like:
sourcekitd-test -req=index /tmp/init.swift -- /tmp/init.swift
You see the call to the initializer in the output:
{ key.kind: source.lang.swift.ref.function.constructor, key.name: "init(a:)", key.usr: "s:4init3FooV1aACSS_tcfc", key.line: 5, key.column: 5 }
But when you try to get cursor info for the USR returned here, it fails:
% sourcekitd-test -req=cursor -usr s:4init3FooV1aACSS_tcfc /tmp/init.swift -- /tmp/init.swift { key.request: source.request.configuration.global, key.optimize_for_ide: 1 } { key.request: source.request.cursorinfo, key.usr: "s:4init3FooV1aACSS_tcfc", key.compilerargs: [ "/tmp/init.swift" ], key.sourcefile: "/tmp/init.swift" } <empty cursor info; internal diagnostic: "Unable to resolve type from USR.">
This appears to be related to https://bugs.swift.org/browse/SR-13140
The text was updated successfully, but these errors were encountered:
@swift-ci create
Sorry, something went wrong.
No branches or pull requests
Additional Detail from JIRA
md5: 12829dceff23b892b48ac0f50490b8ff
Issue Description:
With this code:
If you do a sourcekit index request like:
You see the call to the initializer in the output:
But when you try to get cursor info for the USR returned here, it fails:
This appears to be related to https://bugs.swift.org/browse/SR-13140
The text was updated successfully, but these errors were encountered: