File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 3574c513bbc5578dd9346b4ea9ab5995c5927bb5
3
- refs/heads/master-next: 1a0757d8692897f31e9ede856897515d1798d308
3
+ refs/heads/master-next: 0337e5a130ef26bf4dfe49824e011b5e82e774a0
4
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
6
6
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-b: 66d897bfcf64a82cb9a87f5e663d889189d06d07
Original file line number Diff line number Diff line change @@ -289,6 +289,8 @@ static void collectPossibleCalleesByQualifiedLookup(
289
289
if (!VD->hasInterfaceType ())
290
290
continue ;
291
291
Type declaredMemberType = VD->getInterfaceType ();
292
+ if (!declaredMemberType->is <AnyFunctionType>())
293
+ continue ;
292
294
if (VD->getDeclContext ()->isTypeContext ()) {
293
295
if (isa<FuncDecl>(VD)) {
294
296
if (!isOnMetaType && VD->isStatic ())
Original file line number Diff line number Diff line change @@ -368,3 +368,13 @@ func test_41071587(x: Any) {
368
368
}
369
369
}
370
370
// RDAR_41071587: Begin completions
371
+
372
+ // rdar://problem/54215016
373
+ // RUN: %target-swift-ide-test -code-completion -code-completion-token=RDAR_54215016 -source-filename=%s | %FileCheck %s -check-prefix=RDAR_54215016
374
+ struct test_54215016 {
375
+ func genericError< Value> ( )
376
+ func test( ) {
377
+ genericError ( #^RDAR_54215016 ^#)
378
+ // RDAR_54215016: Begin completions
379
+ }
380
+ }
You can’t perform that action at this time.
0 commit comments