swift
[5.1][AST] Use LookUpConformanceInModule to check if extension applied
#26329
Merged

[5.1][AST] Use LookUpConformanceInModule to check if extension applied #26329

rintaro
rintaro5 years ago (edited 5 years ago)

Cherry-pick of #26321 into swift-5.1-branch

  • Explanation: If a extension have some requirements, we check if it's applied or not. However, it used to fail to classify as "applied" when the requirement has "chained" constraints like Index : Strideable, Index.Stride == Int. This patch fixes that by using LookUpConformanceInModule to check the conformance
  • Scope: Inherited member lookup for code completion
  • Risk: Low.
  • Issue: rdar://problem/53401609
  • Testing: Added regression test case
  • Reviewer: Slava Pestov (@slavapestov)
rintaro [AST] Use LookUpConformanceInModule to check if extension applied
69418864
rintaro
rintaro5 years ago

@swift-ci Please test

slavapestov
slavapestov approved these changes on 2019-07-24
rintaro
rintaro5 years ago

@swift-ci Please nominate

rintaro rintaro merged e9b6385f into swift-5.1-branch 5 years ago
rintaro rintaro deleted the 5.1-ide-completion-rdar53401609 branch 5 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone