Check whether the field is indeed being initialized
in checkFieldInExactlyOnceLambdaInitialization #KT-40691 Fixed
This commit is contained in:
Generated
+5
@@ -4166,6 +4166,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/contracts/exception.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("fieldReadInConstructor.kt")
|
||||
public void testFieldReadInConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/contracts/fieldReadInConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("forLoop.kt")
|
||||
public void testForLoop() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/contracts/forLoop.kt");
|
||||
|
||||
Generated
+5
@@ -4166,6 +4166,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/contracts/exception.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("fieldReadInConstructor.kt")
|
||||
public void testFieldReadInConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/contracts/fieldReadInConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("forLoop.kt")
|
||||
public void testForLoop() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/contracts/forLoop.kt");
|
||||
|
||||
+5
@@ -4166,6 +4166,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/contracts/exception.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("fieldReadInConstructor.kt")
|
||||
public void testFieldReadInConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/contracts/fieldReadInConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("forLoop.kt")
|
||||
public void testForLoop() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/contracts/forLoop.kt");
|
||||
|
||||
Reference in New Issue
Block a user