Hello, does Kotlin native supports unsigned values? Currently running
Compiler version info: Konan: 1.7.0 / Kotlin: 1.7.20
I am getting these kind of errors
Copy code
api.cpp:14475:871: error: unknown type name 'libnative_kref_kotlin_UInt'; did you mean 'libnative_kref_kotlin_Int'?
api.cpp:14412:1533: error: unknown type name 'libnative_kref_kotlin_ULong'; did you mean 'libnative_kref_kotlin_Long'?
The documentation seems to say it should be supported.
Tristan
08/20/2022, 1:10 AM
Here the kind of code I use
Copy code
interface GetAppStartTimeUseCase {
operator fun invoke(): UInt?
}
Copy code
class GetAppStartTimeUseCaseImpl : GetAppStartTimeUseCase {
override operator fun invoke(): UInt = 0u
}