Values equality no more provides guarantee for their types equality (for open types or types with overridden equals) #KT-11280 Fixed
This commit is contained in:
@@ -16170,6 +16170,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("fakeSmartCastOnEquality.kt")
|
||||
public void testFakeSmartCastOnEquality() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/smartCasts/fakeSmartCastOnEquality.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("falseReceiverSmartCast.kt")
|
||||
public void testFalseReceiverSmartCast() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/smartCasts/falseReceiverSmartCast.kt");
|
||||
|
||||
Reference in New Issue
Block a user