"Add not-null asserted (!!) call": do not add this when implicit receiver is not extension receiver
#KT-34894 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
f1c605d0f7
commit
8857827dce
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user