Dico
01/24/2019, 3:48 AMkotlin.cinterops
for kotlin native, kotlinx.coroutines
, and most other projects that use a similar style in this respect.
I wonder if people would support the idea that importing a type should also import extension functions of that type that reside in the same file or package.
This would mean that if you import CoroutineScope
, you don't need to import launch
or any other builders other than runBlocking
.
What do you think?egorand
01/24/2019, 5:49 AMUncaught TypeError: Cannot read property 'execute' of null
at Object.onRun (main.js:148)
at main.js:148
at Object.<anonymous> (main.js:132)
at p (main.js:132)
at main.js:132
at C (main.js:132)
at O (main.js:132)
at A (main.js:132)
at S (main.js:132)
at L (main.js:132)
ahulyk
01/24/2019, 9:49 AMreik.schatz
01/24/2019, 10:17 AMDavide Giuseppe Farella
01/24/2019, 11:25 AM@Suppress("UNCHECKED_CAST")
pairsListOfNullableApiParamAndNullableString
.filterNot { it.first == null || it.second == null }
.map { it as Pair<ApiParam, String> }
mp
01/24/2019, 12:04 PMvar externalId: String = ""
code provide to me this kind of object wrapping. but when I`m trying to set this value in data class Id(var externalId: String)
it actually tooks 16332. And I “miss” my reference
I can’t understand why this ref$ObjectRef appears
Advice pls some documentation page about thiscarlos cdmp
01/24/2019, 3:10 PMLeoColman
01/24/2019, 3:37 PMRandom
to not have range-based float generation?Davide Giuseppe Farella
01/24/2019, 4:14 PMMutableList
, for instance 😕withoutclass
01/24/2019, 5:34 PM1.3.20-release-IJ2018.3-1
seems to break compiling in Intellij for me. Compiling via command line gradle works. Beginning of error snippet is: Error:Kotlin: [Internal Error] java.lang.IllegalStateException: Backend Internal error: Exception during code generation
Cause: Back-end (JVM) Internal error: wrong code generated
org.jetbrains.kotlin.codegen.CompilationException Back-end (JVM) Internal error: Couldn't transform method node:Error:Kotlin: [Internal Error] java.lang.IllegalStateException: Backend Internal error: Exception during code generation
Cause: Back-end (JVM) Internal error: wrong code generated
org.jetbrains.kotlin.codegen.CompilationException Back-end (JVM) Internal error: Couldn't transform method node:
create (Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;:
tipsy
01/24/2019, 6:56 PMstdlib
dependencies when publishing libraries written in kotlin?jasondlee
01/24/2019, 8:35 PMxenoterracide
01/24/2019, 8:57 PM@ParameterizedTest
@ValueSource(strings = [ "emr", "packet_100hz", "packet_1hz" ])
fun channel( channel: String ) {
assertThat( Channel::class.java ).hasPublicFields( channel.toUpperCase() + "_NEW" )
assertThat( Channel::`channel`.get() ).isEqualTo( channel + ".new" )
}
Alper Tekinalp
01/24/2019, 10:55 PMLocalDate.parse("2000-02-31", DateTimeFormatter.ofPattern("yyyy-MM-dd"))
parses to 2000-02-28
?kenkyee
01/24/2019, 11:11 PMNikky
01/25/2019, 1:17 AMDefinitelyAHuman
01/25/2019, 1:29 AMgroostav
01/25/2019, 9:02 AMdo {
val x = true
}
while(x)
works but
do try {
val x = true
}
finally {}
while(x)
does not. Can i log this as a bug? Or an enhancement?coder82
01/25/2019, 9:47 AMMarc Knaup
01/25/2019, 10:19 AMrobstoll
01/25/2019, 2:01 PMval a = try { myfun()} } catch(T: Throwable){ null }
Lamberto Basti
01/25/2019, 2:21 PMOperatingSystem.current().isLinux
is the correct way to chech the OS). Now i just need to sign all of them and configure the publishing
extension lambda. The project is this one: https://github.com/lamba92/kotlin-extlibhyukchan
01/25/2019, 2:23 PMDalinar
01/25/2019, 2:51 PMalex.hart
01/25/2019, 2:53 PMtschuchort
01/25/2019, 7:18 PMpugnator
01/25/2019, 7:47 PMFoso
01/25/2019, 7:48 PMsnowe
01/25/2019, 11:19 PMshadow
gradle plugin with kotlin? I’m attempting to package kotlinx serialization with my gradle plugin and I can’t figure out the syntax.Dalinar
01/26/2019, 7:41 AMClass.class.getName()
Dalinar
01/26/2019, 7:41 AMClass.class.getName()
gildor
01/26/2019, 9:48 AMClass::class.java.name