Resolve lambda argument types when failing to resolve call

This commit is contained in:
Pavel V. Talanov
2016-01-15 15:54:42 +03:00
parent adbf098166
commit ce42d47383
3 changed files with 12 additions and 1 deletions
@@ -0,0 +1,4 @@
package foo
<error>@Anno</error> ({ val x: Int })
fun f() {}
@@ -466,6 +466,12 @@ public class PsiCheckerTestGenerated extends AbstractPsiCheckerTest {
doTest(fileName);
}
@TestMetadata("FunctionLiteralInsideAnnotation.kt")
public void testFunctionLiteralInsideAnnotation() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/checker/regression/FunctionLiteralInsideAnnotation.kt");
doTest(fileName);
}
@TestMetadata("InterfaceDeclarationAsExpression.kt")
public void testInterfaceDeclarationAsExpression() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/checker/regression/InterfaceDeclarationAsExpression.kt");