Check implicitly inferred Nothing inside special calls properly: compare constructors instead of types

^KT-41176 Open
This commit is contained in:
Victor Petukhov
2020-09-24 16:12:03 +03:00
parent 051d64742c
commit 076eacb3d1
7 changed files with 116 additions and 1 deletions
@@ -24220,6 +24220,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
runTest("compiler/testData/diagnostics/tests/typeParameters/implicitNothingInReturnPosition.kt");
}
@TestMetadata("implicitNothingOfJavaCallAgainstNotNothingExpectedType.kt")
public void testImplicitNothingOfJavaCallAgainstNotNothingExpectedType() throws Exception {
runTest("compiler/testData/diagnostics/tests/typeParameters/implicitNothingOfJavaCallAgainstNotNothingExpectedType.kt");
}
@TestMetadata("implicitNothingOnDelegates.kt")
public void testImplicitNothingOnDelegates() throws Exception {
runTest("compiler/testData/diagnostics/tests/typeParameters/implicitNothingOnDelegates.kt");