Check modifiers applicability on destructured lambda parameters

#KT-14502 Fixed
This commit is contained in:
Denis Zharkov
2016-10-24 11:39:29 +03:00
parent 8865c0be34
commit 1f0293eb42
4 changed files with 50 additions and 1 deletions
@@ -7712,6 +7712,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("modifiers.kt")
public void testModifiers() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/functionLiterals/destructuringInLambdas/modifiers.kt");
doTest(fileName);
}
@TestMetadata("noExpectedType.kt")
public void testNoExpectedType() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/functionLiterals/destructuringInLambdas/noExpectedType.kt");