mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 22:20:54 +07:00
Also: report every incompatible parameter, not only the first one Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only) GitOrigin-RevId: a9d75a78207d0910f0bcbb6060e38acedc3f07d3
9 lines
228 B
Java
9 lines
228 B
Java
class LambdaConv10 {
|
|
|
|
interface I<T, R> { public R call( T t); }
|
|
|
|
{
|
|
I<Integer,Integer> in = (<error descr="Incompatible parameter type in lambda expression: expected Integer but found int">int i</error>) -> 2 * i;
|
|
}
|
|
}
|