mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
reverted java highlighting: give up check of @PolymorphicSignature methods (IDEA-251449)
appeared to be a javac bug GitOrigin-RevId: 1d17221830606f5bdc8d0db78fa97f94e9548799
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c8fe5a1584
commit
9355c487e2
+1
-1
@@ -2,7 +2,7 @@ import java.lang.invoke.MethodHandle;
|
||||
|
||||
class MyTest {
|
||||
private void m(MethodHandle handle) {
|
||||
I stringSupplier = handle::invokeExact;
|
||||
I stringSupplier = <error descr="Bad return type in method reference: cannot convert java.lang.Object to java.lang.String">handle::invokeExact</error>;
|
||||
}
|
||||
}
|
||||
interface I {
|
||||
|
||||
Reference in New Issue
Block a user