Skip to content

[indexer] report defs/refs of parameters without a separate external name #7820

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

Merged
merged 1 commit into from
Feb 28, 2017

Conversation

nathawes
Copy link
Contributor

Updates the indexer to still report the occurrences of parameters if they don't have a distinct external name.

Resolves rdar://problem/30098853

@nathawes
Copy link
Contributor Author

@swift-ci please smoke test

@nathawes nathawes merged commit eedf288 into swiftlang:master Feb 28, 2017
@nathawes nathawes deleted the rdar30098853 branch February 28, 2017 21:32
// CHECK: [[@LINE-1]]:8 | instance-method/Swift | instanceMethod() | s:14swift_ide_test6AClassC14instanceMethodyyF | Def,RelChild | rel: 1
// CHECK-NEXT: RelChild | AClass | s:14swift_ide_test6AClassC
// InstanceMethod + Parameters
func instanceMethod(a: Int, b b: Int, _ c: Int) {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two more parameter test cases: d _: Int and _: Int.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I'll add this in a related patch I'm working on at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants