droidrcc
04/28/2018, 11:15 PMBaseBuilder
defining a default implementation for onError()
and hide the onError()
function to the calleraraqnid
04/29/2018, 1:05 AMComparator<T>
have input variance? I was trying to assign a Collator (which for some reason is a Comparator<Object>
in Java) to Comparator<String>
. Is it because it’s simply a typealias?mcblum
04/29/2018, 1:59 PMylemoigne
04/29/2018, 5:48 PMkotlin-platform-jvm
(and not just kotlin
even if they don't provide any actual
) ?Czar
04/30/2018, 11:18 AMdoSomething(Some::class.java)
to be marked as deprecated in kotlin code, and kotlin-style doSomething<Some>
to be suggested, while in java it should not be marked deprecated.menegatti
04/30/2018, 3:01 PMjw
04/30/2018, 3:02 PMOtek
04/30/2018, 4:01 PMthomasnield
04/30/2018, 6:08 PMagrosner
04/30/2018, 6:21 PMtypealias Coordinate2D = Triple<Int, Int, String>
operator fun Coordinate2D.invoke(x: Int, y: Int, description: String) = Coordinate2D(x, y, description)
thomasnield
04/30/2018, 6:22 PMtipsy
04/30/2018, 8:16 PMif (!::lateObj.isInitialized) lateObj = LateObj()
adams2
04/30/2018, 8:51 PMStrum355
04/30/2018, 10:56 PMStrum355
04/30/2018, 11:12 PMShawn
05/01/2018, 1:03 AMAregev2
05/01/2018, 10:14 AMpbergson
05/01/2018, 5:59 PMRyan Leckey
05/02/2018, 6:57 AMRyan Leckey
05/02/2018, 6:58 AMwcaokaze
05/02/2018, 7:29 AMLong
is a subtype of Long?
Czar
05/02/2018, 7:57 AMe: Kotlin home does not exist or is not a directory:
> Task :buildSrc:compileKotlin FAILED
Really annoying 😞diesieben07
05/02/2018, 8:21 AMval a = b?.let { A(it) }
Czar
05/02/2018, 9:04 AMwcaokaze
05/02/2018, 9:09 AMa?.b.toString().length
to
if (a == null) {
null
} else {
a.b.toString().length
}
wcaokaze
05/02/2018, 9:10 AMkarelpeeters
05/02/2018, 9:10 AMnull.toString()
?robstoll
05/02/2018, 9:24 AMfun Nothing?.toString() = "my personal toString"
fun main(args: Array<String>) {
println(null.toString())
}
lifk
05/02/2018, 12:58 PMorg.jetbrains.kotlin.resolve.FunctionImportedFromObject cannot be cast to org.jetbrains.kotlin.descriptors.SimpleFunctionDescriptor
ziggy42
05/02/2018, 2:09 PM@JvmDefault
with gradle?ziggy42
05/02/2018, 2:09 PM@JvmDefault
with gradle?diesieben07
05/02/2018, 2:13 PMkotlinOptions {
freeCompilerArgs = [
'-Xenable-jvm-default'
]
}
ziggy42
05/02/2018, 2:14 PM