You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.
It looks like functions with generic types just get left out of generated dynamic libraries with no warnings or anything. Using 1.3.30 on Linux, with the simple kotlin file
fun <T> getItemFromList(index:Int, list:List<T>): T {
return list[index]
}
running kotlinc-native src/kotlin/main.kt -o build/a -p dynamic produces an a_api.h file with no exported symbols.
If this isn't implemented, it should at least warn you that functions with generic types won't be included in the dynamic library.
The text was updated successfully, but these errors were encountered:
It looks like functions with generic types just get left out of generated dynamic libraries with no warnings or anything. Using
1.3.30
on Linux, with the simple kotlin filerunning
kotlinc-native src/kotlin/main.kt -o build/a -p dynamic
produces ana_api.h
file with no exported symbols.If this isn't implemented, it should at least warn you that functions with generic types won't be included in the dynamic library.
The text was updated successfully, but these errors were encountered: