"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
+7
View File
@@ -0,0 +1,7 @@
// "Add non-null asserted (!!) call" "true"
// WITH_RUNTIME
fun test(s: String?) {
s.run {
<caret>length
}
}