testdata for IDEA-148553

This commit is contained in:
Anna Kozlova
2015-11-27 16:20:35 +01:00
parent 4eb00b634a
commit e740dbe245
2 changed files with 19 additions and 0 deletions

View File

@@ -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);
}
}

View File

@@ -458,6 +458,10 @@ public class NewMethodRefHighlightingTest extends LightDaemonAnalyzerTestCase {
doTest();
}
public void testIDEA148553() throws Exception {
doTest();
}
private void doTest() {
doTest(false);
}