Skip to content
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

Jump-to-definition to init of a C struct does not work #1279

Open
ahoppen opened this issue May 13, 2024 · 0 comments
Open

Jump-to-definition to init of a C struct does not work #1279

ahoppen opened this issue May 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ahoppen
Copy link
Collaborator

ahoppen commented May 13, 2024

When doing jump to definition on the timespec initializer in the following (jump-to-definition on tv_spec), it doesn’t jump anywhere, probably because the C struct doesn’t have an initializer.

import Darwin

func test() {
  _ = timespec(tv_sec: 0, tv_nsec: 0)
}

rdar://126382075

@ahoppen ahoppen added the bug Something isn't working label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant