Fix rewrite at slice exception for callable references inside flatMap

#KT-40254 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2020-07-13 15:45:50 +03:00
parent 1e4c554bcd
commit 09b44b3189
7 changed files with 48 additions and 5 deletions
@@ -2803,6 +2803,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
runTest("compiler/testData/diagnostics/tests/callableReference/resolve/resolveReferenceAgainstKFunctionAndKPrpoerty.kt");
}
@TestMetadata("resolveTwoReferencesAgainstGenerics.kt")
public void testResolveTwoReferencesAgainstGenerics() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/resolve/resolveTwoReferencesAgainstGenerics.kt");
}
@TestMetadata("valVsFun.kt")
public void testValVsFun() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/resolve/valVsFun.kt");