Minor: use List instead of Array as container in chained scopes

This commit is contained in:
Zalim Bashorov
2015-12-15 18:41:04 +03:00
parent 5008a66a5b
commit 976fbf32ba
12 changed files with 36 additions and 35 deletions
@@ -130,7 +130,7 @@ public class IncrementalPackageFragmentProvider(
MemberScope.Empty
}
else {
ChainedMemberScope("Member scope for incremental compilation: union of package parts data", *scopes.toTypedArray())
ChainedMemberScope("Member scope for incremental compilation: union of package parts data", scopes)
}
}
}
@@ -155,7 +155,7 @@ public class IncrementalPackageFragmentProvider(
val scopes = partsData.map { IncrementalPackageScope(JvmProtoBufUtil.readPackageDataFrom(it.data, it.strings)) }
ChainedMemberScope(
"Member scope for incremental compilation: union of multifile class parts data for $multifileClassFqName",
*scopes.toTypedArray<MemberScope>())
scopes)
}
}