ross_a
10/10/2017, 10:11 AMbrucehan
10/10/2017, 11:57 AMbrucehan
10/10/2017, 2:25 PMwaicool20
10/10/2017, 2:59 PMbdawg.io
10/10/2017, 6:28 PMinternal
translate in the JVM? Is Kotlin able to provide instructions so it’s distributed JAR includes the same restrictions?jtonic
10/11/2017, 5:15 AMpublic class Foo {
public void foo1() {}
void foo2() {}
}
public class Fee {
public void fee1() {}
void fee2() {}
}
Fré Dumazy
10/11/2017, 2:06 PMayubi
10/11/2017, 2:08 PMmegamiun
10/11/2017, 4:49 PMjlleitschuh
10/12/2017, 1:01 AMjoejungmann
10/12/2017, 4:14 PMimport foo.Bar as bBar
in all my files?chris_b
10/12/2017, 11:08 PMpavel
10/12/2017, 11:25 PMAndreas Sinz
10/13/2017, 10:12 AMachim
10/13/2017, 10:17 AMinterface `I I` {}
val a = object : `I I` {}
result:
exception: org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Failed to generate property a
Cause: Invalid class name (must be a fully qualified class name in internal form): Line_0$I I
File being compiled and position: (1,1) in /Line_1.kts
PsiElement: val a = object : `I I` {}
…
is this a known issue?aaverin
10/13/2017, 11:59 AMjcomo
10/13/2017, 5:31 PMpublic @interface SqlEmbedded {
public Class<? extends ResultSetMapper> using()
default NullResultSetMapper.class;
}
mortda-m
10/14/2017, 4:27 PMjkbbwr
10/14/2017, 5:13 PMjkbbwr
10/14/2017, 5:40 PMjtonic
10/15/2017, 10:00 AMdla
10/15/2017, 5:54 PMdla
10/15/2017, 6:09 PM()
for higher order functions(map
& co.) discussed over the eventual use of braces {}
?
seems like there could have been a nice opportunity to be less java-eyilya.gorbunov
10/15/2017, 7:36 PMfun <F,S,K> setPartition(
first: Iterable<F>,
second: Iterable<S>,
firstGetKey: F.() -> K,
secondGetKey: S.() -> K
): List<Triple<K, F?, S?>>
{
val firstByKey = first.associateBy(firstGetKey)
val secondByKey = second.associateBy(secondGetKey)
val allKeys = firstByKey.keys + secondByKey.keys
return allKeys.map { Triple(it, firstByKey[it], secondByKey[it]) }
}
Nicholas Bilyk
10/15/2017, 7:40 PMval a = mapOf("a" to 3)
val b = mapOf("a" to 4, "b" to 5)
val unionKeys = a.keys.union(b.keys)
val merged = hashMapOf<String, Pair<Int, Int>>()
for (key in unionKeys) {
merged[key] = Pair(a[key]!!, b[key]!!)
}
println(merged)
karelpeeters
10/15/2017, 7:41 PM[code]
with ``` 🙂.mmaillot
10/15/2017, 7:56 PMKulwinder Singh
10/16/2017, 4:58 AMcotline
10/16/2017, 9:23 AMstantronic
10/16/2017, 9:27 AM