Introduce inspection for redundant not-null extension receiver of inline
Related to KT-22303
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
Reports inline functions with not-null extension receivers which does not use the fact that extension receiver is not null.
|
||||
This function are dangerous to call in Kotlin 1.2 on actual nullable flexible receiver type.
|
||||
Consider making receiver type nullable.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user