mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
testdata
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
class LambdaConv10 {
|
||||
|
||||
interface I<T, R> { public R call( T t); }
|
||||
|
||||
{
|
||||
I<Integer,Integer> in = (<error descr="Incompatible parameter types in lambda expression">int i</error>) -> 2 * i;
|
||||
}
|
||||
}
|
||||
+1
@@ -102,6 +102,7 @@ public class LambdaHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
public void testSameLambdaParamNames() {doTest();}
|
||||
public void testIDEA123308() {doTest();}
|
||||
public void testIntersection() {doTest();}
|
||||
public void testNoBoxingInLambdaFormalParams() {doTest();}
|
||||
|
||||
private void doTest() {
|
||||
doTest(false);
|
||||
|
||||
Reference in New Issue
Block a user