Alexander von Below
08/27/2020, 8:13 AMKonanTarget.MACOS_ARM64
?rocketraman
08/27/2020, 1:24 PMSam Garfinkel
08/27/2020, 5:53 PMasync
and launch
implementations? Doesn’t seem to be available in common
ShawnV
08/28/2020, 1:32 AMactual typealias Throws = kotlin.native.Throws
and try to compile it gives me this error
Right-hand side of actual type alias should be a class, not another type alias
timo
08/28/2020, 11:58 AMursus
08/30/2020, 2:28 AMursus
08/30/2020, 2:30 AMHyun
08/31/2020, 12:15 AMtimo
08/31/2020, 8:22 AMarnis71
08/31/2020, 4:01 PMStateFlow
. The problem is that this lambda gets called on some other thread so I have to freeze it. But when I freeze it the data objects also gets frozen and in turn it freezes the StateFlow
and then it crashes with mutability exception.
Is it even possible to do what I described with current KN memory model? Any help would be appreciated, thanks!Fabian Landis
09/01/2020, 12:17 AMKris Wong
09/01/2020, 3:00 PMaleksey.tomin
09/02/2020, 10:57 AMaleksey.tomin
09/02/2020, 1:55 PMATTrackingManager
https://developer.apple.com/documentation/apptrackingtransparency/attrackingmanager ?natario1
09/02/2020, 8:02 PMmimalloc
? Any negative/positive comments?Skolson5903
09/03/2020, 12:10 AMfengsheng
09/04/2020, 2:15 PMgetStackTraceAddresses
to creat crash report in my iOS application. When I use debug build I can got a detailed report. But when I use release build, I just got some address in iOS no share code address. Any idea?agrosner
09/04/2020, 7:18 PM> Task :lib:compileTestKotlinDesktop FAILED
w: duplicate library name: org.jetbrains.kotlinx:kotlinx-coroutines-core
e: Compilation failed: IrPropertyPublicSymbolImpl for public **.api/httpClient|-3923667219442095515[0] is already bound: PROPERTY name:httpClient visibility:internal modality:FINAL [val]
* Source files: Client.kt, Auth.kt, AuthApi.kt, Location.kt, LocationsApi.kt, Movie.kt, MoviesApi.kt
* Compiler version info: Konan: 1.4 / Kotlin: 1.4.0
* Output kind: LIBRARY
e: java.lang.IllegalStateException: IrPropertyPublicSymbolImpl for public **.api/httpClient|-3923667219442095515[0] is already bound: PROPERTY name:httpClient visibility:internal modality:FINAL [val]
at org.jetbrains.kotlin.ir.symbols.impl.IrBindablePublicSymbolBase.bind(IrPublicSymbolBase.kt:49)
at org.jetbrains.kotlin.ir.declarations.impl.IrPropertyImpl.<init>(IrPropertyImpl.kt:215)
at org.jetbrains.kotlin.backend.common.serialization.IrFileDeserializer$deserializeIrProperty$$inlined$withDeserializedIrDeclarationBase$lambda$1.invoke(IrFileDeserializer.kt:1327)
Hyun
09/05/2020, 2:43 AMfrankelot
09/06/2020, 1:06 AMcinterop
tool, but when running the application, I get Undefined symbols for architecture x86_64:
which is pretty much what I was expectingVsevolod Ganin
09/07/2020, 1:15 PMinterface GenericInterface<T> {
fun add(value: T)
}
and I have an abstract class which inherits from this interface
abstract class ConcreteClass : GenericInterface<DataClass>
and I want to implement ConcreteClass
in Swift. Unfortunately the type information about DataClass
is lost in interop code. Is there a way to workaround this?Martin Gagnon
09/08/2020, 4:30 PMopen class IOSSerialDispatchQueue(identifier: String) : DispatchQueue {
private val serialQueue = dispatch_queue_create(
"com.mirego.trikot.foundation.serial_dispatch_queue.$identifier",
dispatch_queue_serial_t()
)
override fun isSerial() = true
override fun dispatch(block: DispatchBlock) {
freeze(block)
dispatch_async(serialQueue, freeze {
runQueueTask(block)
})
}
private fun runQueueTask(block: DispatchBlock) {
block()
}
}
The crash happens in class initialization at line dispatch_queue_create("...", dispatch_queue_serial_t())
. I can reproduce with the following swift code let _ = IOSSerialDispatchQueue(identifier: "None")
in my AppDelegate.swift file . The crash is EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
(Kotlin 1.4)Hanzhen
09/09/2020, 3:07 PMagta1991
09/10/2020, 8:43 AMbasher
09/11/2020, 3:04 PMtieskedh
09/11/2020, 6:30 PMElka
09/14/2020, 8:45 AMribesg
09/14/2020, 2:48 PM@ExportObjCClass
class CandidateInfoUITableViewCell @OverrideInit constructor(
style: UITableViewCellStyle = UITableViewCellStyle.UITableViewCellStyleDefault,
reuseIdentifier: String? = null
) : UITableViewCell(style = style, reuseIdentifier = reuseIdentifier) {
...
Error:
...CandidateInfoUITableViewCell.kt: (24, 5): constructor with @OverrideInit doesn't override any super class constructor.
It must completely match by parameter names and types.
I don’t understand. This compiled in 1.3.61 and the parameter names are the right type and names. IDEA doesn’t even show any error.Skolson5903
09/14/2020, 6:33 PMSkolson5903
09/14/2020, 6:42 PM