mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-14 02:21:25 +07:00
Merge remote-tracking branch 'origin/master'
GitOrigin-RevId: 211e84dab4063848c1d3d835a526271ee1466636
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f9664fc455
commit
83f21c7197
@@ -6,7 +6,7 @@ interface Func<TIn, TOut>{
|
||||
class Main {
|
||||
|
||||
public static void main(final String[] args) {
|
||||
<error descr="Incompatible types. Found: '<method reference>', required: 'Func<java.lang.Integer,java.lang.String>'">Func<Integer, String> func = Integer::toString;</error>
|
||||
Func<Integer, String> func = Integer::<error descr="Cannot resolve method 'toString'">toString</error>;
|
||||
System.out.println(func.run(6));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user