mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
IDEA-57487 Smart completion in cast operator inserts ill-formed type
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user