Files
kotlin-fork/idea/resources-en/inspectionDescriptions/PlatformExtensionReceiverOfInline.html
T
Dmitry Gridin 0df5d5158d Add resources-en for idea
#KT-38297 Fixed
2020-05-19 16:22:06 +07:00

9 lines
533 B
HTML

<html>
<body>
This inspection reports potentially unsafe calls of inline functions with flexible nullable (platform type with unknown nullability) extension receivers.
In Kotlin 1.0 or 1.1, such calls do not include nullability check in bytecode,
but in Kotlin 1.2, nullability check is included and can provoke NPE if actual receiver is null.
It's recommended to add explicit <b>!!</b> if exception is what you want,
or consider changing the function's receiver type to nullable if it should work without exceptions.
</body>
</html>