IDEA-130745 Incorrect auto cast after completion

* when merging dfa states, check that they're really equal after stripping complementary facts (there might be additional info in subclasses)
* merge in separate groups in one go
This commit is contained in:
peter
2014-10-04 09:55:23 +02:00
parent bd298abb73
commit 544385ce69
3 changed files with 114 additions and 57 deletions
@@ -0,0 +1,16 @@
public abstract class Zzza {
abstract Object getFoo();
void foo(Zzza other) {
int a;
if (other.getFoo() instanceof String) {
a = 1;
} else {
a = 2;
}
other.getFoo().subst<caret>
}
}