mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 21:55:01 +07:00
testdata fixed
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ interface SAM<X> {
|
||||
|
||||
class Foo {
|
||||
void test() {
|
||||
SAM<X> c = (i, j) -> "" + i + j;
|
||||
SAM<Integer> c = (i, j) -> "" + i + j;
|
||||
SAM<Integer> s3 = m(c);
|
||||
}
|
||||
<X> SAM<X> m(SAM<X> s) { return null; }
|
||||
|
||||
@@ -433,7 +433,7 @@ public class IntroduceVariableTest extends LightCodeInsightTestCase {
|
||||
}
|
||||
|
||||
public void testLambdaExprNotAccepted() {
|
||||
doTest(new MockIntroduceVariableHandler("c", false, false, false, "SAM<X>"));
|
||||
doTest(new MockIntroduceVariableHandler("c", false, false, false, "SAM<java.lang.Integer>"));
|
||||
}
|
||||
|
||||
public void testOneLineLambdaVoidCompatible() {
|
||||
|
||||
Reference in New Issue
Block a user