KT-4351 Cannot resolve reference to self in init of class local to function
#KT-4351 fixed
This commit is contained in:
@@ -4331,6 +4331,11 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
doTest("compiler/testData/diagnostics/tests/inner/outerSuperClassMember.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("referenceToSelfInLocal.kt")
|
||||
public void testReferenceToSelfInLocal() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/inner/referenceToSelfInLocal.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("resolvePackageClassInObjects.kt")
|
||||
public void testResolvePackageClassInObjects() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/inner/resolvePackageClassInObjects.kt");
|
||||
|
||||
+5
@@ -1013,6 +1013,11 @@ public class BlackBoxWithStdlibCodegenTestGenerated extends AbstractBlackBoxCode
|
||||
doTestWithStdlib("compiler/testData/codegen/boxWithStdlib/regressions/kt864.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("referenceToSelfInLocal.kt")
|
||||
public void testReferenceToSelfInLocal() throws Exception {
|
||||
doTestWithStdlib("compiler/testData/codegen/boxWithStdlib/regressions/referenceToSelfInLocal.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeCastException.kt")
|
||||
public void testTypeCastException() throws Exception {
|
||||
doTestWithStdlib("compiler/testData/codegen/boxWithStdlib/regressions/typeCastException.kt");
|
||||
|
||||
Reference in New Issue
Block a user