mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-20 13:31:28 +07:00
testdata for IDEA-137795
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
class Example {
|
||||
void test() {
|
||||
Function<? super Integer, Float> firstFunction = null;
|
||||
Function<Float, String> secondFunction = null;
|
||||
Function<? super Integer, String> function = firstFunction.andThen(secondFunction);
|
||||
}
|
||||
}
|
||||
@@ -55,6 +55,10 @@ public class Java8RegressionTest extends LightDaemonAnalyzerTestCase {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testIDEA137795() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
private void doTest() {
|
||||
doTest(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user