Introduce inspection for redundant not-null extension receiver of inline

Related to KT-22303
This commit is contained in:
Mikhail Glukhikh
2018-01-19 16:14:30 +03:00
parent ad48099ca6
commit 7995ae05c5
8 changed files with 231 additions and 0 deletions
@@ -66,6 +66,8 @@ sealed class KotlinType : Annotated {
}
}
fun KotlinType.isNullable(): Boolean = TypeUtils.isNullableType(this)
abstract class WrappedType : KotlinType() {
open fun isComputed(): Boolean = true
protected abstract val delegate: KotlinType