christophsturm
02/22/2017, 9:35 AMchristophsturm
02/22/2017, 9:36 AMaimozg
02/22/2017, 9:37 AMmiha-x64
02/22/2017, 9:44 AMmiha-x64
02/22/2017, 9:44 AMEugenio
02/22/2017, 10:17 AMwarning▾
izorin
02/22/2017, 10:17 AMadambl4
02/22/2017, 10:18 AMkotlin.incremental = true
? in gradle.properties
izorin
02/22/2017, 10:19 AMizorin
02/22/2017, 10:26 AMazabost
02/22/2017, 10:30 AMclass EnumStringConverter<E extends Enum> implements Converter<E, String>
which I must provide for this annotation:
public @interface Convert {
Class<? extends Converter> value();
}
When I do it like this:
@get:Convert(EnumStringConverter::class)
I get:
Error:(95, 19) error: constructor EnumStringConverter in class EnumStringConverter<E> cannot be applied to given types;
required: Class
found: no arguments
reason: actual and formal argument lists differ in length
where E is a type-variable:
E extends Enum declared in class EnumStringConverter
And I don't know how to properly provide the type.
Could you help please?groostav
02/22/2017, 10:33 AMspand
02/22/2017, 10:36 AMbuildscript {
ext.kotlinVersion = '1.1.0-rc-91'
repositories {
mavenLocal()
maven {
url '<http://dl.bintray.com/kotlin/kotlin-eap-1.1>'
}
}
spand
02/22/2017, 10:38 AMspand
02/22/2017, 10:39 AMallprojects { compileKotlin {
kotlinOptions {
jvmTarget = '1.8'
}
} }
groostav
02/22/2017, 10:39 AMgroostav
02/22/2017, 10:39 AMjcenter()
anymoregroostav
02/22/2017, 10:39 AMgroostav
02/22/2017, 10:40 AMkapt
in kotlin 1.1groostav
02/22/2017, 10:43 AMcant findin ... bintray.com/org/jetbrains/kotlin/kotlin-annotation-processing/1.1.0-rc-91/org.jetbrains.kotlin:kotlin-annotation-processing:1.1.0-rc-91
groostav
02/22/2017, 10:45 AMgroostav
02/22/2017, 10:50 AMInternal error: java.lang.AbstractMethorError
which sounds like a fun version conflict and a propblem for another dayorangy
johnl
02/22/2017, 11:44 AMjohnl
02/22/2017, 11:44 AMjohnl
02/22/2017, 11:45 AMwillmadison
02/22/2017, 11:45 AMmg6maciej
02/22/2017, 11:45 AMjohnl
02/22/2017, 11:45 AMwillmadison
02/22/2017, 11:46 AM