IDEA-57487 Smart completion in cast operator inserts ill-formed type

This commit is contained in:
peter
2011-02-23 11:33:14 +01:00
parent c13f0636c2
commit d07de05c10
4 changed files with 28 additions and 11 deletions
@@ -0,0 +1,6 @@
abstract class A<T> {
void foo(T x){}
void bar(A<? super Throwable> a, Object b){
a.foo((Throwable) <caret>b);
}
}
@@ -0,0 +1,6 @@
abstract class A<T> {
void foo(T x){}
void bar(A<? super Throwable> a, Object b){
a.foo((<caret>) b);
}
}