Resolve function references independently of target type

KT-7564 AbstractDiagnosticsTest.checkAllResolvedCallsAreCompleted() fails on tests with function references
 #KT-7564 Fixed
This commit is contained in:
Svetlana Isakova
2015-04-27 13:20:29 +03:00
parent 5ee17c0c26
commit 4f0d541493
4 changed files with 33 additions and 1 deletions
@@ -909,6 +909,12 @@ public class JetDiagnosticsTestWithStdLibGenerated extends AbstractJetDiagnostic
doTest(fileName);
}
@TestMetadata("kt7564.kt")
public void testKt7564() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithStdLib/callableReference/property/kt7564.kt");
doTest(fileName);
}
@TestMetadata("localVariable.kt")
public void testLocalVariable() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithStdLib/callableReference/property/localVariable.kt");