https://kotlinlang.org logo
Title
k

kartikpatodi

11/06/2017, 8:22 PM
@orangy @ilya.gorbunov Can tell why this example provided in the docs throwing exception on try.kotlinlang.org but works fine in the IDE
inline fun <reified T> membersOf() = T::class.members

fun main(s: Array<String>) {
    println(membersOf<StringBuilder>().joinToString("\n"))
}
https://try.kotlinlang.org/#/UserProjects/e8imtmr1ecig3054eh01oekq8q/s05q8o8o76i5jkum3ov36o3gpc
o

orangy

11/06/2017, 8:24 PM
I have no idea. May be @udalov can help?
k

kartikpatodi

11/06/2017, 8:27 PM
also in my opinion there should be an option to try the beta releases online Like an option to switch btw stable and beta
o

orangy

11/06/2017, 8:32 PM
There are in the bottom-right corner
k

kartikpatodi

11/06/2017, 8:40 PM
Sorry my bad on that one