NI: introduce warning about implicitly inferred Nothing with existing non-Nothing expected type
^KT-35406 Fixed
This commit is contained in:
Generated
+8
-3
@@ -23347,9 +23347,14 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
|
||||
runTest("compiler/testData/diagnostics/tests/typeParameters/functionTypeAsUpperBound.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("implicitNothingAsTypeParameter.kt")
|
||||
public void testImplicitNothingAsTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/typeParameters/implicitNothingAsTypeParameter.kt");
|
||||
@TestMetadata("implicitNothingAgainstNotNothingExpectedType.kt")
|
||||
public void testImplicitNothingAgainstNotNothingExpectedType() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/typeParameters/implicitNothingAgainstNotNothingExpectedType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("implicitNothingInReturnPosition.kt")
|
||||
public void testImplicitNothingInReturnPosition() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/typeParameters/implicitNothingInReturnPosition.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("implicitNothingOnDelegates.kt")
|
||||
|
||||
Reference in New Issue
Block a user