krtko
09/01/2016, 11:48 PMjohn.shelley
09/01/2016, 11:56 PMkrtko
09/01/2016, 11:56 PMjohn.shelley
09/01/2016, 11:58 PMkrtko
09/01/2016, 11:59 PMkrtko
09/01/2016, 11:59 PMkrtko
09/01/2016, 11:59 PMkrtko
09/02/2016, 12:04 AMjohn.shelley
09/02/2016, 12:07 AMkrtko
09/02/2016, 12:13 AMkrtko
09/02/2016, 12:13 AMjohn.shelley
09/02/2016, 3:02 PMIan
09/02/2016, 3:41 PMorangy
Ian
09/02/2016, 4:18 PMdenis.zharkov
09/02/2016, 5:20 PMcedric
09/07/2016, 4:18 PM/Users/beust/kotlin/kobalt/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/misc/KobaltLogger.kt:84:30 Unresolved reference: printStackTrace
for simple exception.printStackTrace()
statements. I notice that Throwable.printStackTrace()
in Exceptions.kt
was removed in 1.1, but I would expect the code to simply fall back to calling the Java printStackTrace()
then. Any idea why I'm seeing this compilation error?cedric
09/08/2016, 5:51 PMjava.lang.*
is no longer automatically imported?cedric
09/08/2016, 6:02 PMyole
09/08/2016, 6:03 PMcedric
09/08/2016, 6:03 PMcedric
09/08/2016, 6:03 PMcedric
09/08/2016, 6:04 PMcedric
09/08/2016, 6:04 PMjava.lang.*
no longer imported by default, printStackTrace
no longer found, etc...cedric
09/08/2016, 6:12 PMPasted image at 2016-09-08, 11:12 AM▾
cedric
09/08/2016, 6:20 PM} catch (e: IOException) {
throw KobaltException(e)
}
Error:(35, 23) Kotlin: Type mismatch: inferred type is KobaltException but Throwable was expected
teedee
09/08/2016, 6:23 PMcedric
09/08/2016, 6:23 PMcedric
09/08/2016, 6:24 PMteedee
09/08/2016, 6:24 PM