a test for IDEA-99898 Java completion doesn't take into account inferred type...

This commit is contained in:
peter
2013-02-28 18:24:10 +01:00
parent 36f9a775dc
commit 6d416372da
3 changed files with 19 additions and 0 deletions
@@ -0,0 +1,9 @@
public class Aaaaaaa {
void bar(Object foo) {
if (foo instanceof String) {
fo.substr<caret>
}
}
}
@@ -0,0 +1,9 @@
public class Aaaaaaa {
void bar(Object foo) {
if (foo instanceof String) {
((String) foo).substr<caret>
}
}
}