KT-614 Emit a warning when non-null type is checked for instance of nullable type
#KT-614 Fixed
This commit is contained in:
@@ -783,6 +783,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/cast/IsTraits.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt614.kt")
|
||||
public void testKt614() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/cast/kt614.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("WhenErasedDisallowFromAny.kt")
|
||||
public void testWhenErasedDisallowFromAny() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/cast/WhenErasedDisallowFromAny.kt");
|
||||
|
||||
Reference in New Issue
Block a user