"Add not-null asserted (!!) call": do not add this when implicit receiver is not extension receiver

#KT-34894 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-11-16 10:31:31 +09:00
committed by Mikhail Glukhikh
parent f1c605d0f7
commit 8857827dce
6 changed files with 50 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
// "Add non-null asserted (!!) call" "true"
class Foo {
val project: Project? = null
fun quux() {
baz(<caret>project)
}
fun baz(project: Project) {}
class Project
}