[NI] Fix resolution status for UnstableSmartCastDiagnostic
RESOLVED_WITH_ERROR was initially added for reproducing OI behavior. The intention was to preserve resolution into unstable smart cast and to keep failing candidate. However, this idea was abandoned after OI behavior proved inconsistent in cases involving generics. This commit restores RUNTIME_ERROR status of UnstableSmartCastDiagnostic. ^KT-41357 Fixed
This commit is contained in:
+5
@@ -29652,6 +29652,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/regressions/kt39088.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt41357.kt")
|
||||
public void testKt41357() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/regressions/kt41357.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt4142.kt")
|
||||
public void testKt4142() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/regressions/kt4142.kt");
|
||||
|
||||
Reference in New Issue
Block a user