kyonifer
05/09/2017, 5:30 AMbountin
06/04/2017, 7:54 PMjw
06/14/2017, 5:38 AMjw
06/14/2017, 5:42 AMjw
06/17/2017, 5:03 AMnatpryce
06/30/2017, 6:02 AMnatpryce
06/30/2017, 6:02 AMnatpryce
06/30/2017, 7:34 AMspierce7
07/11/2017, 4:26 AMsandwwraith
08/09/2017, 10:23 AMkarelpeeters
08/14/2017, 8:16 PMyoavst
08/18/2017, 1:59 PMjw
08/20/2017, 7:37 PMilya.gorbunov
08/21/2017, 5:35 AMsandwwraith
08/22/2017, 1:23 PMjava.io.Writer
class. Given the header abstract class Writer protected constructor()
in common module and impl typealias Writer = java.io.Writer
in jvm module, it fails to compile with:
The following declaration is incompatible because some members are not implemented:
public typealias Writer = Writer
No implementations are found for members listed below:
protected constructor Writer()
The following declaration is incompatible because visibility is different:
protected/*protected and package*/ constructor Writer()
The following declaration is incompatible because number of value parameters is different:
protected/*protected and package*/ constructor Writer(p0: Any!)
Is it a bug or I'm missing something? Don't know how to make "protected/*protected and package*/ constructor"...Deactivated User
09/19/2017, 11:54 PMDeactivated User
09/20/2017, 8:25 AMimpl -> actual
rename yesterday in the github’s history.
Is it going to be available in 1.1.50 final?
Also I can’t find KClass
inside common. Right now I have this:
// @TODO: Hack since we don't have access to KClass from common
typealias KClass<T> = Any
Deactivated User
09/20/2017, 9:07 AMheader fun ByteArray.copyRangeTo(srcPos: Int, dst: ByteArray, dstPos: Int, count: Int) {
for (n in 0 until count) dst[dstPos + n] = this[srcPos + n]
}
Here I provide a generic implementation, that can be improved using System.arraycopy in JVM or the former for JS typed arrays, but as an optimization, not mandatory. So for example I wouldn’t have to implement for Konan at the very beginning and implement it later when optimizing thingsorangy
09/22/2017, 12:10 PMDeactivated User
09/24/2017, 10:42 PMDuplicate source root
? https://travis-ci.org/korlibs/korio/builds/279319112#L724 ---- https://github.com/korlibs/korio/blob/d1fdb1e153a9fe3644f3b1e2883d0f6fd467e3eb/build.gradleDeactivated User
09/28/2017, 5:57 AMDeactivated User
09/28/2017, 6:01 AMArray.copyTo(srcPos, dst, dstPos, count)
. As far as I understand the right place to put it would be: https://github.com/JetBrains/kotlin/blob/4a0ad54829aa7b2e4c22eca08dbd42131b732c9c/libraries/tools/kotlin-stdlib-gen/src/templates/SpecialJVM.ktgaetan
09/30/2017, 12:34 AMgaetan
09/30/2017, 2:19 PMilya.gorbunov
09/30/2017, 8:02 PMcommon
project. Even if you have no platform specific code, you have to create a platform-specific project that implements common and produces the artifacts for that platform.
Then jvm project needs also to have a compile dependency on that platform project with the compiled Foo
class.eddie
10/01/2017, 9:03 PMilya.gorbunov
10/01/2017, 9:26 PMactual
modifier is technically can be omitted, its presence helps to improve the IDE experience.ilya.gorbunov
10/01/2017, 11:48 PMorangy
10/03/2017, 7:45 AMeddie
10/03/2017, 3:30 PMeddie
10/03/2017, 3:30 PMRuckus
10/03/2017, 3:36 PMabreslav
10/03/2017, 4:21 PMoverride
modifiereddie
10/03/2017, 5:22 PMabreslav
10/06/2017, 10:49 AMeddie
10/08/2017, 12:24 AM