bashor
11/24/2017, 6:00 PMnatpryce
11/24/2017, 6:23 PMchild
method takes a KClass or reified type parameter of the child component to construct, neither of which is available for extern interfacesbenjaminsutter
11/26/2017, 5:03 AMlewik
11/26/2017, 3:42 PMid_qzvhcz$_0
in most cases automatically?redrield
11/26/2017, 10:58 PMbenleggiero
11/27/2017, 1:39 AMtoFixed
from Kotlin? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toFixedGreg Stepniewski
11/27/2017, 7:53 PMpakoito
11/27/2017, 11:59 PMredrield
11/28/2017, 4:05 AMnatpryce
11/28/2017, 2:24 PMDmitry Kandalov
11/28/2017, 3:51 PMJurriaan Mous
11/28/2017, 9:58 PMJurriaan Mous
11/29/2017, 7:49 AMfstn
11/29/2017, 1:11 PMDanilo
11/29/2017, 3:51 PMDomDom
11/30/2017, 3:22 PMlaht
11/30/2017, 8:10 PMlaht
11/30/2017, 8:27 PMgaetan
11/30/2017, 11:04 PMfun main(args: Array<String>) {
var one = '1'
one shouldEqual '1'
val foo = Foo('2')
foo.bar shouldEqual '2' //<- should not complain, but it does.
}
class Foo(val bar:Char = ' ')
infix fun <T> T.shouldEqual(any: Any?): Unit {
if (this != any)
println("$this did not equal $any")
}
To try it online: https://try.kotlinlang.org/#/UserProjects/vt8l2cck3f0fak5t0ks4grpqlr/ai0kcea10ier1sgnj02g0eqiops1m0nw1
12/01/2017, 9:50 AMkotlin-runcode
? I'd need help 🙂spand
12/01/2017, 2:20 PMkirillrakhman
12/01/2017, 6:25 PMDanilo
12/01/2017, 8:16 PMDanilo
12/01/2017, 8:18 PMarocnies
12/02/2017, 4:48 AMjv
12/02/2017, 9:42 PMjv
12/03/2017, 2:29 AMFilipp Riabchun
12/03/2017, 11:07 AMkylpo
12/04/2017, 3:39 AMbabel-loader
running from an ejected create-react-kotlin-app
. With no babel plugins enable, it is erroring with TypeError: Kotlin.defineModule is not a function
.kylpo
12/04/2017, 3:42 AMkylpo
12/04/2017, 3:42 AMFilipp Riabchun
12/04/2017, 11:20 AMkylpo
12/04/2017, 1:46 PMjs()
calls 😞css`
background: red;
`
js("css`background: red;`")
Filipp Riabchun
12/04/2017, 1:50 PM${expression}
kylpo
12/04/2017, 1:51 PMFilipp Riabchun
12/04/2017, 1:51 PMcss(Array("""
background: red;
"""))
kylpo
12/04/2017, 1:52 PMFilipp Riabchun
12/04/2017, 1:53 PMkylpo
12/04/2017, 1:53 PMFilipp Riabchun
12/04/2017, 1:55 PMkylpo
12/04/2017, 1:55 PMFilipp Riabchun
12/04/2017, 1:56 PMkylpo
12/04/2017, 2:00 PMbashor
12/04/2017, 2:29 PMis there a plan to support targets other than ES5?Yes, but only after we will finish migrating to the new compiler infrastructure. Not very soon.
kylpo
12/04/2017, 2:31 PMFilipp Riabchun
12/04/2017, 2:35 PMkylpo
12/04/2017, 2:37 PMbashor
12/05/2017, 9:57 AM