don't throw exceptions when completing in the RHS of >>, complete instead

This commit is contained in:
peter
2010-08-26 17:07:18 +01:00
parent acac73de5e
commit 0afff998b0
3 changed files with 14 additions and 3 deletions
@@ -0,0 +1,8 @@
public class SomeClass {
Object myField1;
Object myField2;
void foo(int param) {
int a = param >> my<caret>
}
}
@@ -645,5 +645,10 @@ public class NormalCompletionTest extends LightCompletionTestCase {
public void testPrimitiveMethodParameter() throws Throwable { doTest(); }
public void testRightShift() throws Throwable {
configureByFile("/codeInsight/completion/normal/" + getTestName(false) + ".java");
assertStringItems("myField1", "myField2");
}
}