mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-29 18:01:16 +07:00
[java-highlighting] WIP IDEA-372969 Support JEP 512: Compact Source Files and Instance Main Methods
- update language levels partially - fix tests GitOrigin-RevId: 8d7b599772eda8dfd999bee9f816ec2609be4adb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
19096c38a1
commit
128454480a
@@ -5,7 +5,7 @@ interface Func<TIn, TOut>{
|
||||
|
||||
class Main {
|
||||
|
||||
public static void main(final String[] args) {
|
||||
public static void main() {
|
||||
Func<Integer, String> func = Integer::<error descr="Reference to 'toString' is ambiguous, both 'toString()' and 'toString(int)' match">toString</error>;
|
||||
System.out.println(func.run(6));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user