[Analysis API] Unwrap anonymous function expressions in reference shortener
Anonymous functions are additionally wrapped into an expression ^KTIJ-26629 Fixed ^KTIJ-26597 Fixed
This commit is contained in:
+18
@@ -52,6 +52,24 @@ public class FirStandaloneNormalAnalysisSourceModuleReferenceShortenerTestGenera
|
||||
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/annotaiton.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousFunction_annotation.kt")
|
||||
public void testAnonymousFunction_annotation() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/anonymousFunction_annotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousFunction_receiverType.kt")
|
||||
public void testAnonymousFunction_receiverType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/anonymousFunction_receiverType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousFunction_returnType.kt")
|
||||
public void testAnonymousFunction_returnType() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/anonymousFunction_returnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callInsideScriptExpression.kts")
|
||||
public void testCallInsideScriptExpression() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user