Drop ArrayValue redundant constructor parameter

This commit is contained in:
Pavel V. Talanov
2015-07-03 14:20:39 +03:00
parent ae88dd3f1f
commit f97767e159
6 changed files with 10 additions and 8 deletions
@@ -110,9 +110,11 @@ public class AnnotationDeserializer(private val module: ModuleDescriptor) {
val expectedElementType = builtIns.getArrayElementType(if (expectedIsArray) expectedType else actualArrayType)
ArrayValue(
arrayElements.map { resolveValue(expectedElementType, it, nameResolver) },
arrayElements.map {
resolveValue(expectedElementType, it, nameResolver)
},
actualArrayType,
true, true
true
)
}
else -> error("Unsupported annotation argument type: ${value.getType()} (expected $expectedType)")