grpc-kotlin
grpc-kotlin copied to clipboard
Compiler warnings about inline functions
trafficstars
Kotlin files compiled with gRPC contain inline functions that cause following warnings with the compiler:
Expected performance impact from inlining is insignificant. Inlining works best for functions with parameters of functional types
it is unclear to me what exactly causes the inline functions, but the compiler does believe that they are unnecessary. Perhaps there is a way to opt out of this behaviour or the warnings, but I have not discovered it yet.