Convert lambda to reference: fix it works correctly for labeled expression

#KT-37214 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-05-27 20:52:05 +09:00
committed by Yan Zhulanow
parent 2a36a8acac
commit b9fab1123d
4 changed files with 39 additions and 2 deletions
@@ -5065,6 +5065,11 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
runTest("idea/testData/intentions/convertLambdaToReference/inner.kt");
}
@TestMetadata("labeledThis.kt")
public void testLabeledThis() throws Exception {
runTest("idea/testData/intentions/convertLambdaToReference/labeledThis.kt");
}
@TestMetadata("mapTo.kt")
public void testMapTo() throws Exception {
runTest("idea/testData/intentions/convertLambdaToReference/mapTo.kt");