[tests] test case for IDEA-177643

This commit is contained in:
Roman Shevchenko
2017-09-01 20:04:17 +03:00
parent 9a0dafdd3b
commit dc4697fc32
3 changed files with 25 additions and 0 deletions
@@ -0,0 +1,13 @@
import org.jetbrains.annotations.NotNull;
class Test1 {
void m(@NotNull String... strings) { }
}
class Test2 {
private Test1 t;
public void m(@NotNull String... strings) {
t.m(strings);
}
}
@@ -0,0 +1,11 @@
import org.jetbrains.annotations.NotNull;
class Test1 {
void m(@NotNull String... strings) { }
}
class Test2 {
private Test1 t;
<caret>
}
@@ -64,6 +64,7 @@ public class DelegateMethodsTest extends LightCodeInsightTestCase {
public void testSingleField() { doTest(); }
public void testInsideLambdaWithNonInferredTypeParameters() { doTest(); }
public void testTypeUseAnnotationsInReturnType() { doTest(); }
public void testTypeUseAnnotationsInArrayParameter() { doTest(); }
public void testPreserveEllipsisType() { doTest(); }
private void doTest() {