[NI] Fix exception for type check callable reference against error type

#KT-32029 Fixed
 #EA-145311 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2019-06-17 16:48:28 +03:00
parent 8fe632f52b
commit 7749afb13e
6 changed files with 44 additions and 1 deletions
@@ -1711,6 +1711,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
runTest("compiler/testData/diagnostics/tests/callableReference/memberExtensionsImportedFromObjectsUnsupported.kt");
}
@TestMetadata("noExceptionOnRedCodeWithArrayLikeCall.kt")
public void testNoExceptionOnRedCodeWithArrayLikeCall() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/noExceptionOnRedCodeWithArrayLikeCall.kt");
}
@TestMetadata("packageInLhs.kt")
public void testPackageInLhs() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/packageInLhs.kt");