KT-4009 Unnecessary attempt to do a smart cast causes an error
#KT-4009 Fixed do not add smart casted types for vars to constraint system
This commit is contained in:
@@ -5608,6 +5608,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/smartCasts/inference/kt2851.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt4009.kt")
|
||||
public void testKt4009() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/smartCasts/inference/kt4009.kt");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static Test innerSuite() {
|
||||
|
||||
Reference in New Issue
Block a user