Skip to content

Conversation

@nathawes
Copy link
Contributor

@nathawes nathawes commented Aug 1, 2020

Unlike \keypath expressions, the components of #keyPath() expressions weren't being resolved, so the index wouldn't pick up references for their qualifying types/properties. Semantic highlighting, cursor info, etc wouldn't work on them either.

Also fixes a code completion bug where it was reporting members from the Swift rather than ObjC side of bridged types (#keyPath(MyClass.someString.count) is invalid, but keyPath(MyClass.someString.length) is valid).

Resolves rdar://problem/61573935

Unlike \keypath expressions, only the property components of #keypath
expressions were being resolved, so index wouldn't pick up references for their
qualifying types.

Also fixes a code completion bug where it was reporting members from the Swift
rather than ObjC side of bridged types.

Resolves rdar://problem/61573935
@nathawes nathawes requested review from rintaro and xedin August 1, 2020 00:53
@nathawes
Copy link
Contributor Author

nathawes commented Aug 1, 2020

@swift-ci please test

Copy link
Contributor

@xedin xedin left a comment

Choose a reason for hiding this comment

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

Looks great!

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.

3 participants