test data fixed

This commit is contained in:
anna
2013-09-25 18:32:29 +02:00
parent f80073364c
commit 264025422d
3 changed files with 20 additions and 2 deletions
@@ -9,6 +9,6 @@ class Test2 {
static <T> I<T> bar(I<T> i){return i;}
{
bar((List<String> list) -> null);
bar(list -> null);
}
}
@@ -0,0 +1,18 @@
class Test2 {
class Y<T>{}
interface I<X> {
X foo(Y<X> list);
}
static <T> I<T> bar(I<T> i){return i;}
{
bar(new I() {
@Override
public Object foo(Y x) {
<selection>return x;</selection>
}
});
}
}
@@ -44,7 +44,7 @@ public class ReplaceLambdaWithAnonymousIntentionTest extends IPPTestCase {
}
public void testCyclicInference() {
assertIntentionNotAvailable();
doTest();
}
public void testNoFunctionalInterfaceFound() {