Artur Bosch
03/02/2017, 7:45 PMw: The '-d' option with a directory destination is ignored because '-module' is specified
e: org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Couldn't inline method call 'get' into
public final fun doResume(data: kotlin.Any?, throwable: kotlin.Throwable?): kotlin.Any? defined in io.gitlab.arturbosch.tinboserver.route.backup.<anonymous>.<closure-BackUpsKt$backup$1$1>[SimpleFunctionDescriptorImpl@5f5fe84a]
{
val multipart = call.request.content.get<MultiPartData>()
val credentials = call.request.basicAuthenticationCredentials()!!
call.response.contentType(ContentType.Text.Plain)
call.respondWrite {
if (!call.request.isMultipart()) {
appendln("Not a multipart request")
} else {
multipart.parts.forEach { handlePart(it, credentials.name) }
}
}
}
Cause: Not generated
Cause: Cannot inline bytecode of class org/jetbrains/ktor/request/RequestContent which has version 52. This compiler can only inline Java 1.6 bytecode (version 50)
File being compiled and position: (22,41) in /home/artur/Repos/TinboServer/src/main/kotlin/io/gitlab/arturbosch/tinboserver/route/BackUps.kt
PsiElement: get<MultiPartData>()
The root cause was thrown at: InlineCodegenUtil.java:155