IDEA-220464 Smart-cast completion doesn't insert <?>

GitOrigin-RevId: 175651a3f6cf5736ca7676b9fe80b569d4260962
This commit is contained in:
peter
2019-09-30 10:32:59 +00:00
committed by intellij-monorepo-bot
parent e3367716c0
commit a0111f91d0
4 changed files with 18 additions and 3 deletions
@@ -0,0 +1,8 @@
import java.util.List;
class Foo {
{
Object o;
int size = o instanceof List<?> ? ((List<?>) o).size() : <caret>
}
}
@@ -0,0 +1,8 @@
import java.util.List;
class Foo {
{
Object o;
int size = o instanceof List<?> ? o.size<caret>
}
}