KT-9835 Completion thinks receiver is nullable when it is not
#KT-9835 Fixed
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
public interface R<D extends I> {
|
||||
int getFoo();
|
||||
int f();
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
interface I
|
||||
|
||||
fun foo(r: R<out I>) {
|
||||
r.<caret>
|
||||
}
|
||||
|
||||
// EXIST: { itemText: "foo", tailText: " (from getFoo())", typeText: "Int", attributes: "bold" }
|
||||
// EXIST: { itemText: "f", tailText: "()", typeText: "Int", attributes: "bold" }
|
||||
Reference in New Issue
Block a user