LetImplementInterfaceFix: cleanup code
This commit is contained in:
@@ -47,7 +47,7 @@ class LetImplementInterfaceFix(
|
|||||||
|
|
||||||
private val prefix: String
|
private val prefix: String
|
||||||
|
|
||||||
private val validExpectedType = with (expectedType) {
|
private val validExpectedType = with(expectedType) {
|
||||||
isInterface() &&
|
isInterface() &&
|
||||||
!containsStarProjections() &&
|
!containsStarProjections() &&
|
||||||
constructor !in TypeUtils.getAllSupertypes(expressionType).map(KotlinType::constructor)
|
constructor !in TypeUtils.getAllSupertypes(expressionType).map(KotlinType::constructor)
|
||||||
|
|||||||
Reference in New Issue
Block a user