Minor: fix Sequence package name

This commit is contained in:
Vitaliy.Bibaev
2017-12-20 18:37:44 +03:00
committed by Yan Zhulanow
parent 9d69b701c1
commit c1cf159beb
@@ -33,7 +33,7 @@ class SequenceTypeExtractor : CallTypeExtractor.Base() {
private fun tryToFindElementType(type: KotlinType): GenericType? {
val typeName = KotlinPsiUtil.getTypeWithoutTypeParameters(type)
if (typeName == "kotlin.collections.Sequence") {
if (typeName == "kotlin.sequences.Sequence") {
if (type.arguments.isEmpty()) return KotlinTypes.NULLABLE_ANY
val itemsType = type.arguments.single().type
if (itemsType.isMarkedNullable) return KotlinTypes.NULLABLE_ANY