inference: retrieve type from containing call if the corresponding method is not generics (IDEA-151443)

This commit is contained in:
Anna Kozlova
2016-02-09 20:09:10 +01:00
parent 938a77511a
commit 1f640238e0
5 changed files with 46 additions and 4 deletions
@@ -272,6 +272,10 @@ public class NewLambdaHighlightingTest extends LightDaemonAnalyzerTestCase {
doTest();
}
public void testInferenceFromReturnLambdaStatementWhereContainingMethodNonGeneric() throws Exception {
doTest();
}
private void doTest() {
doTest(false);
}