sdeleuze
01/24/2017, 1:09 PMsdeleuze
01/24/2017, 1:10 PMsdeleuze
01/24/2017, 1:10 PMsdeleuze
01/24/2017, 1:11 PMcompileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
sdeleuze
01/24/2017, 1:13 PMsdeleuze
01/24/2017, 1:20 PMsdeleuze
01/24/2017, 1:21 PMsdeleuze
01/24/2017, 1:23 PM./gradlew clean :spring-oxm:compileTestJava
(the :spring-oxm:compileTestJava
is required to generate some classes) and then try to run for example `KotlinScriptTemplateTests`tests, I still get the errorsdeleuze
01/24/2017, 1:24 PMudalov
max.kammerer
01/24/2017, 1:55 PMsdeleuze
01/24/2017, 1:59 PMsdeleuze
01/24/2017, 2:00 PMspring-web
as well ...sdeleuze
01/24/2017, 2:01 PMsdeleuze
01/24/2017, 2:02 PMapply plugin: “groovy”
...sdeleuze
01/24/2017, 2:02 PMapply plugin: “groovy”
sdeleuze
01/24/2017, 2:05 PMsdeleuze
01/24/2017, 2:05 PMcompileGroovy {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
sdeleuze
01/24/2017, 2:05 PMsdeleuze
01/24/2017, 2:21 PMsdeleuze
01/24/2017, 2:21 PMsdeleuze
01/24/2017, 2:41 PMdmcg
01/24/2017, 5:43 PMtypealias Success<T> = Right<ErrorCode, T>
...
return Success("hooray")
which is pretty useful.
But if that is the only use of the alias, IntelliJ sees it as an unused import and will remove it (embarrassingly on a commit).
Is this is a known bug?hackerham
01/24/2017, 6:35 PMyole
01/25/2017, 11:26 AMdmcg
01/25/2017, 1:09 PMyousuf.haque
01/25/2017, 8:25 PMmglukhikh
01/26/2017, 9:44 AMyousuf.haque
01/26/2017, 4:12 PMDmitry Kandalov
01/27/2017, 6:02 AM_
which doesn’t compile in 1.0. And there seems to be no way to permanently disable this inspection. Is it a bug or should I downgrade plugin?