grpc-kotlin icon indicating copy to clipboard operation
grpc-kotlin copied to clipboard

Compiler warnings about inline functions

Open anan44 opened this issue 2 years ago • 0 comments
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.

anan44 avatar Feb 28 '23 13:02 anan44