FIR checker: fix local type approximation on delegated property
Previously types of delegated property is not approximated, which can cause local types to leak through public APIs.
This commit is contained in:
committed by
teamcityserver
parent
76e192fc8a
commit
d3e8cc577c
+6
@@ -7543,6 +7543,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/declarationChecks/localFunctionNoInheritVisibility.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localObjectInInnerClass.kt")
|
||||
public void testLocalObjectInInnerClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/declarationChecks/localObjectInInnerClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LocalVariableWithNoTypeInformation.kt")
|
||||
public void testLocalVariableWithNoTypeInformation() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user