mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
testdata for IDEA-121884
(cherry picked from commit 985e902bb5edb3c913d0394492494ed115e545b4)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
class Main {
|
||||
interface MyCall {
|
||||
void call(int n);
|
||||
}
|
||||
interface MyCallRet {
|
||||
int call(int n);
|
||||
}
|
||||
public static void caller(MyCall c) {
|
||||
c.call(2);
|
||||
}
|
||||
public static void caller(MyCallRet c) {
|
||||
c.call(3);
|
||||
}
|
||||
public static void main(String[] args) {
|
||||
caller( (int n) -> { System.out.println(" " + n); } );
|
||||
}
|
||||
}
|
||||
@@ -55,6 +55,10 @@ public class MostSpecificResolutionTest extends LightDaemonAnalyzerTestCase {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testIDEA121884() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
private void doTest() {
|
||||
doTest(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user