``` fun parseIntEither(s: String): Either<Nu...
# announcements
i
Copy code
fun parseIntEither(s: String): Either<NumberFormatException, Int> =
        if (s.matches(Regex("-?[0-9]+"))) Either.Right(s.toInt())
        else Either.Left(NumberFormatException("$s is not a valid integer."))

    val list = listOf("1", "2", "3").k().traverse(Either.applicative(), ::parseIntEither)
    val failFastList = listOf("1", "abc", "3", "4s").k().traverse(Either.applicative(), ::parseIntEither)

red line under Either.applicative(), 
Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6
I can't find a solution on IDEA, but it's ok on Android Studio, and IDEA using the same JDK 1.8 from Android Studio
c
You should ask on #C5UPMM0A0, that is related to their library. Are you sure you are executing it exactly the same way in IDEA & AS? It looks like IDEA has a Kotlin target set for 1.6
i
@CLOVIS where I can change this target set in IDEA? I look at the project setting and settings they're both 1.8
c
What build tool are you using?
i
@CLOVIS thanks for reply, find out it's another package's problem :)