-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Open
Labels
SourceKitArea → source tooling: SourceKitArea → source tooling: SourceKitbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.cursor infoArea → source tooling: cursor infoArea → source tooling: cursor infosource toolingArea: IDE support, SourceKit, and other source toolingArea: IDE support, SourceKit, and other source toolingswift 6.0unexpected errorBug: Unexpected errorBug: Unexpected error
Description
For e.g:
func foo(_ x: Int) {}
func foo(_ x: String) {}
foo()
Cursor info on foo
returns no results. If you however put the reference inside a function, then it returns both decls.
Swift version 6.2-dev (LLVM 53b6f8897dfb1be, Swift dd97862)
Target: arm64-apple-macosx15.0
rdar://140980141
Metadata
Metadata
Assignees
Labels
SourceKitArea → source tooling: SourceKitArea → source tooling: SourceKitbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.cursor infoArea → source tooling: cursor infoArea → source tooling: cursor infosource toolingArea: IDE support, SourceKit, and other source toolingArea: IDE support, SourceKit, and other source toolingswift 6.0unexpected errorBug: Unexpected errorBug: Unexpected error