[NI] Add capturing receiver type for callable references

#KT-30292 Fixed
This commit is contained in:
Dmitriy Novozhilov
2019-05-15 11:45:43 +03:00
parent f5a78213b2
commit 96a3831feb
5 changed files with 21 additions and 1 deletions
@@ -2696,6 +2696,11 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/kt1558.kt");
}
@TestMetadata("kt30292.kt")
public void testKt30292() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/kt30292.kt");
}
@TestMetadata("kt3458.kt")
public void testKt3458() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/inference/kt3458.kt");