"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,7 @@
|
||||
// "Add non-null asserted (!!) call" "true"
|
||||
// WITH_RUNTIME
|
||||
fun test(s: String?) {
|
||||
s.run {
|
||||
<caret>length
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user