Minor code corrections after code review

This commit is contained in:
Valentin Kipyatkov
2014-07-04 21:19:58 +04:00
parent 330c41fc61
commit 88235c3eb2
5 changed files with 11 additions and 14 deletions
@@ -111,8 +111,7 @@ private fun buildTemplate(lambdaType: JetType, explicitParameterTypes: Boolean,
template.addTextSegment("(")
}
for (i in parameterTypes.indices) {
val parameterType = parameterTypes[i]
for ((i, parameterType) in parameterTypes.withIndices()) {
if (i > 0) {
template.addTextSegment(", ")
}