We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71b430c commit d07cea5Copy full SHA for d07cea5
idea/idea-completion/src/org/jetbrains/kotlin/idea/completion/CompletionSession.kt
@@ -450,7 +450,7 @@ abstract class CompletionSession(
450
predictableSmartCastsOnly = true /* we don't include smart cast receiver types for "unpredictable" receiver value to mark members grayed */)
451
452
if (callTypeAndReceiver is CallTypeAndReceiver.SAFE || isDebuggerContext) {
453
- receiverTypes = receiverTypes!!.map { it.makeNotNullable() }
+ receiverTypes = receiverTypes?.map { it.makeNotNullable() }
454
}
455
456
return callTypeAndReceiver to receiverTypes
0 commit comments