Lambda to anonymous: report only from left brace to arrow

This commit is contained in:
Mikhail Glukhikh
2018-05-15 15:26:02 +03:00
parent f4acaae364
commit 6a1ddd6c70
10 changed files with 25 additions and 11 deletions
@@ -9704,6 +9704,11 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
runTest("idea/testData/intentions/lambdaToAnonymousFunction/implicitParameterName.kt");
}
@TestMetadata("incorrectOffset.kt")
public void testIncorrectOffset() throws Exception {
runTest("idea/testData/intentions/lambdaToAnonymousFunction/incorrectOffset.kt");
}
@TestMetadata("namedArgument.kt")
public void testNamedArgument() throws Exception {
runTest("idea/testData/intentions/lambdaToAnonymousFunction/namedArgument.kt");