[NI] Fix exception: don't try to compute type depth on null type
#KT-32184 Fixed
This commit is contained in:
+5
-5
@@ -7784,6 +7784,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
runTest("compiler/testData/diagnostics/tests/functionLiterals/functionLIteralInBlockInIf.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("functionLiteralAsArgumentForFunction.kt")
|
||||
public void testFunctionLiteralAsArgumentForFunction() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/functionLiterals/functionLiteralAsArgumentForFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("functionLiteralInIf.kt")
|
||||
public void testFunctionLiteralInIf() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/functionLiterals/functionLiteralInIf.kt");
|
||||
@@ -12455,11 +12460,6 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/diagnostics/tests/j+k/sam"), Pattern.compile("^(.*)\\.kts?$"), TargetBackend.ANY, true);
|
||||
}
|
||||
|
||||
@TestMetadata("contravariantSamConvertedFunctionFromAnotherModule.kt")
|
||||
public void testContravariantSamConvertedFunctionFromAnotherModule() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/sam/contravariantSamConvertedFunctionFromAnotherModule.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("enhancedSamConstructor.kt")
|
||||
public void testEnhancedSamConstructor() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/sam/enhancedSamConstructor.kt");
|
||||
|
||||
Reference in New Issue
Block a user