Rintaro Ishizaki
71aeffdf17
[CodeCompletion] Calculate type relation for EnumElementDecl
2020-02-03 17:20:50 -08:00
Rintaro Ishizaki
32854b3d93
[AST] Use LookUpConformanceInModule to check if extension applied
...
rdar://problem/53401609
2019-07-24 09:48:46 -07:00
Rintaro Ishizaki
232e4a459c
Merge pull request #23332 from rintaro/ide-completion-conformance-rdar36594731
...
[AST] Don't return decls from unsatisfied conformance
2019-03-25 16:30:22 -07:00
Rintaro Ishizaki
4a4ee3fe89
[CodeCompletion] Filter out inapplicable member from callee analysis
...
rdar://problem/48604807 / https://bugs.swift.org/browse/SR-9938
2019-03-15 23:38:07 -07:00
Rintaro Ishizaki
dcb1db26bb
[AST] Don't return decls from unsatisfied conformance
...
When a type conditionally conforms to a protocol, it used to provide
symbols from extension to that protocol.
e.g.:
protocol P {}
extension P {
func foo() {}
}
struct S<T> {}
extension S: P where T == Int {}
func test(val: S<String>) {
val.#^COMPLETE^#
}
This should not provide `foo()` method.
rdar://problem/36594731
2019-03-15 15:52:07 -07:00
Rintaro Ishizaki
b006c7c9b8
[AST] Don't return inapplicable decls in lookupVisibleDecls
...
rdar://problem/45340583 / https://bugs.swift.org/browse/SR-9027
rdar://problem/36594731
2019-03-14 12:57:37 -07:00