nhaarman
12/21/2016, 9:31 PMorg.jetbrains.kotlin:native-platform:1.1-M04
when using the https version of maven { url '<http://dl.bintray.com/kotlin/kotlin-eap-1.1>' }
. Is that right?alex2069
12/22/2016, 12:49 AMalex2069
12/22/2016, 3:58 AMval onClick: ClickListener? = null
dmitry.petrov
12/22/2016, 7:02 AMdmitry.petrov
12/22/2016, 7:03 AMalex2069
12/22/2016, 7:13 AMdmitry.petrov
12/22/2016, 7:13 AMkirillrakhman
12/22/2016, 8:01 AMdmitry.petrov
12/22/2016, 8:04 AMkirillrakhman
12/22/2016, 8:15 AMkirillrakhman
12/22/2016, 9:04 AMilya.chernikov
12/22/2016, 10:38 AMyan
12/22/2016, 11:03 AMkirillrakhman
12/22/2016, 11:04 AMkirillrakhman
12/22/2016, 11:05 AMyan
12/22/2016, 12:03 PMvmironov
12/22/2016, 2:04 PM1.1-M04
anymore (used to compile with 1.0.5
):
interface Logger {
fun log(message: String)
}
interface WithLogger {
val logger: Logger
}
class WithLoggerMixin(val name: String) : WithLogger {
override val logger: Logger = TODO()
}
abstract class AbstractController : WithLogger by WithLoggerMixin("Hello")
class ControllerImpl : AbstractController(), WithLogger by WithLoggerMixin(”Override”)
Is it an expected breaking change?yole
12/22/2016, 2:06 PMjw
12/22/2016, 8:51 PMjw
12/22/2016, 8:52 PM@@ -20369,2 +20379,2 @@
-com.example.Thing$sam$Func4$239fba2e <init>(Function4)
-com.example.Thing$sam$Func4$239fba2e call(Object, Object, Object, Object)
+com.example.Thing$sam$Func4$8596a107 <init>(Function4)
+com.example.Thing$sam$Func4$8596a107 call(Object, Object, Object, Object)
jw
12/22/2016, 8:54 PMjw
12/22/2016, 8:54 PMkirillrakhman
12/23/2016, 9:30 AMabstract class Foo protected constructor()
// warning "Protected function call from public-API inline function"
inline fun foo(f: () -> Unit) = object: Foo() {}
is this right?udalov
…$sam$…
in the class name) and has been this way since Kotlin 1.0, e.g.:
fun main(args: Array<String>) {
val f = { }
println(Runnable(f).javaClass) // “class TestKt$sam$Runnable$cde914b6”
}
I think hashes here were supposed to be a quick dirty fix of a name clash problem, which can now (I hope) be solved in a more straightforward way. Please report an issue!elizarov
12/23/2016, 11:13 AMkirillrakhman
12/23/2016, 11:14 AMTypeToken
kirillrakhman
12/23/2016, 11:14 AMelizarov
12/23/2016, 11:15 AMkirillrakhman
12/23/2016, 11:16 AMkirillrakhman
12/23/2016, 11:16 AM