[NI] Improve CST algorithm to handle non-fixed variables
#KT-32456 Fixed #KT-32423 Fixed #KT-32818 Fixed #KT-33197 Fixed
This commit is contained in:
Generated
+10
@@ -7954,6 +7954,16 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/elvis"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("genericElvisWithMoreSpecificLHS.kt")
|
||||
public void testGenericElvisWithMoreSpecificLHS() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/elvis/genericElvisWithMoreSpecificLHS.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericElvisWithNullLHS.kt")
|
||||
public void testGenericElvisWithNullLHS() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/elvis/genericElvisWithNullLHS.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericNull.kt")
|
||||
public void testGenericNull() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/elvis/genericNull.kt");
|
||||
|
||||
+10
@@ -9039,6 +9039,16 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/elvis"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@TestMetadata("genericElvisWithMoreSpecificLHS.kt")
|
||||
public void testGenericElvisWithMoreSpecificLHS() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/elvis/genericElvisWithMoreSpecificLHS.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericElvisWithNullLHS.kt")
|
||||
public void testGenericElvisWithNullLHS() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/elvis/genericElvisWithNullLHS.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericNull.kt")
|
||||
public void testGenericNull() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/elvis/genericNull.kt");
|
||||
|
||||
Reference in New Issue
Block a user