NI: approximate not top-level captured types during code generation
^KT-40693 Fixed
This commit is contained in:
Generated
+10
@@ -41,6 +41,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@TestMetadata("annotatedObjectLiteral.kt")
|
||||
public void testAnnotatedObjectLiteral() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/annotatedObjectLiteral.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedAnnotation.kt")
|
||||
public void testNestedAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/nestedAnnotation.kt");
|
||||
@@ -10689,6 +10694,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inference"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@TestMetadata("approximateNonTopLevelCapturedTypes.kt")
|
||||
public void testApproximateNonTopLevelCapturedTypes() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inference/approximateNonTopLevelCapturedTypes.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("builderInferenceLeakingVariable.kt")
|
||||
public void testBuilderInferenceLeakingVariable() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inference/builderInferenceLeakingVariable.kt");
|
||||
|
||||
Generated
+10
@@ -41,6 +41,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("annotatedObjectLiteral.kt")
|
||||
public void testAnnotatedObjectLiteral() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/annotatedObjectLiteral.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedAnnotation.kt")
|
||||
public void testNestedAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/nestedAnnotation.kt");
|
||||
@@ -10689,6 +10694,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inference"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("approximateNonTopLevelCapturedTypes.kt")
|
||||
public void testApproximateNonTopLevelCapturedTypes() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inference/approximateNonTopLevelCapturedTypes.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("builderInferenceLeakingVariable.kt")
|
||||
public void testBuilderInferenceLeakingVariable() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inference/builderInferenceLeakingVariable.kt");
|
||||
|
||||
+10
@@ -41,6 +41,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@TestMetadata("annotatedObjectLiteral.kt")
|
||||
public void testAnnotatedObjectLiteral() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/annotatedObjectLiteral.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedAnnotation.kt")
|
||||
public void testNestedAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/nestedAnnotation.kt");
|
||||
@@ -10754,6 +10759,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inference"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@TestMetadata("approximateNonTopLevelCapturedTypes.kt")
|
||||
public void testApproximateNonTopLevelCapturedTypes() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inference/approximateNonTopLevelCapturedTypes.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("builderInferenceLeakingVariable.kt")
|
||||
public void testBuilderInferenceLeakingVariable() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inference/builderInferenceLeakingVariable.kt");
|
||||
|
||||
Reference in New Issue
Block a user