Migrate kotlin sources, maven projects and stdlib to new lambda syntax

This commit is contained in:
Stanislav Erokhin
2015-04-01 16:36:44 +03:00
parent e0988de707
commit b703f59e04
74 changed files with 136 additions and 140 deletions
@@ -130,7 +130,7 @@ class AnnotationConverter(private val converter: Converter) {
return componentsConverted
}
else {
val expressionGenerator = { (codeConverter: CodeConverter) ->
val expressionGenerator = { codeConverter: CodeConverter ->
val expectedTypeConverted = converter.typeConverter.convertType(expectedType)
if (expectedTypeConverted is ArrayType) {
val array = createArrayInitializerExpression(expectedTypeConverted, componentsConverted.map { it(codeConverter) }, needExplicitType = false)