Meika
02/22/2024, 3:05 PMpublic
when declaring the expect method? I can't find any docs mention it but maybe I'm just blind.
the expect function on commonMain
is something like this, but it seems like I got an error on the actual declaration.
internal expect class WeakReference<T : Any>(referred: T) { ... }
Meika
02/22/2024, 8:24 PMtypealias
instead. still don't really know why I can't set modifier to internal tho and the error somewhat missleading(?)