johan
09/08/2016, 5:21 PMError:(44, 21) org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Couldn't inline method call 'arrayOf' into
{
// val annotation = object : Annotation{}
// val array:Array<Annotation> = arrayOf(annotation)
val converter: retrofit2.Converter<ResponseBody, APIError> =
APIServiceProvider.retrofit!!.responseBodyConverter(
APIError::class.java,
arrayOf())
val error = converter.convert(it)
}
cause: Not generated
Cause: Couldn't find declaration file for kotlin/KotlinPackage
File being compiled and position: (44,21) in /Users/johan/Documents/Projects/captain-jet/captain-jet-android/app/src/main/kotlin/com/captainjet/captainjet/core/net/APIServiceProvider.kt
PsiElement: arrayOf()
The root cause was thrown at: InlineCodegen.java:212
at org.jetbrains.kotlin.codegen.inline.InlineCodegen.genCallInner(InlineCodegen.java:158)
...