Fix handling of nullable types in LetImplementInterfaceFix #KT-11404
This commit is contained in:
committed by
Mikhail Glukhikh
parent
3056e0b54c
commit
f9bef68e10
@@ -0,0 +1,13 @@
|
||||
// "Let 'B' implement interface 'A'" "true"
|
||||
package let.implement
|
||||
|
||||
fun bar() {
|
||||
foo(B()<caret>)
|
||||
}
|
||||
|
||||
|
||||
fun foo(a: A?) {
|
||||
}
|
||||
|
||||
interface A
|
||||
class B
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
// "Let 'B' implement interface 'A'" "true"
|
||||
package let.implement
|
||||
|
||||
fun bar() {
|
||||
foo(B()<caret>)
|
||||
}
|
||||
|
||||
|
||||
fun foo(a: A?) {
|
||||
}
|
||||
|
||||
interface A
|
||||
class B : A
|
||||
Reference in New Issue
Block a user