[FIR] don't transform analyzed lambda
Inside `transformDeclarationContent` current tower data context is saved. Previously, stored context could be incomplete, because `dataFlowAnalyzer.enterFunction(function)` wasn't called in all cases. ^KTIJ-26419 Fixed
This commit is contained in:
committed by
Space Team
parent
673ac2227a
commit
9548486b55
+6
@@ -82,6 +82,12 @@ public class FirStandaloneNormalAnalysisSourceModuleScopeContextForPositionTestG
|
||||
runTest("analysis/analysis-api/testData/components/scopeProvider/scopeContextForPosition/smartCastInAnonymousFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartCastInAnonymousFunctionInWhenEntry.kt")
|
||||
public void testSmartCastInAnonymousFunctionInWhenEntry() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/scopeProvider/scopeContextForPosition/smartCastInAnonymousFunctionInWhenEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartCastInWhenEntryCondition.kt")
|
||||
public void testSmartCastInWhenEntryCondition() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user