mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
testdata for IDEA-148553
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import java.util.function.*;
|
||||
|
||||
class Main {
|
||||
private static byte[] invoke(byte[] req) {return null;}
|
||||
private static String invoke(String req) {return null;}
|
||||
|
||||
private static <T> void send(T req, Supplier<Function<T, T>> methodSelector) {
|
||||
System.out.println(req);
|
||||
System.out.println(methodSelector);
|
||||
}
|
||||
|
||||
public static void main(final String[] args) throws Exception {
|
||||
send("", () -> Main::invoke);
|
||||
}
|
||||
}
|
||||
@@ -458,6 +458,10 @@ public class NewMethodRefHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testIDEA148553() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
private void doTest() {
|
||||
doTest(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user