[NI] Fix isNullableType for definitely not null type parameter
Consider type parameter with nullable bound not null if it is inside of a definitely not null type.
This commit is contained in:
Generated
+5
@@ -15237,6 +15237,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
|
||||
runTest("compiler/testData/diagnostics/tests/nullableTypes/baseWithNullableUpperBound.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("definitelyNotNullWithNullableBound.kt")
|
||||
public void testDefinitelyNotNullWithNullableBound() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/nullableTypes/definitelyNotNullWithNullableBound.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("elvisOnUnit.kt")
|
||||
public void testElvisOnUnit() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/nullableTypes/elvisOnUnit.kt");
|
||||
|
||||
Reference in New Issue
Block a user