Fix handling of nullable types in LetImplementInterfaceFix #KT-11404

This commit is contained in:
Kirill Rakhman
2016-04-04 19:03:25 +02:00
committed by Mikhail Glukhikh
parent 3056e0b54c
commit f9bef68e10
4 changed files with 39 additions and 2 deletions
@@ -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
@@ -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