https://kotlinlang.org logo
#android
Title
# android
l

louiscad

05/31/2018, 1:42 PM
@Joe Please report it on kotl.in/issue (then link it here so I can vote) , and as a workaround, remove the
inline
modifier of the
await
function
j

Joe

05/31/2018, 1:44 PM
That was what I was afraid someone someone would say. 😞 I was hoping I was just missing something easy.
l

louiscad

05/31/2018, 2:11 PM
@Joe You should try to replace the inline reified function with a non inline one that takes the
Class
, then you write a suspend inline reified overload that passes the class. Let me know if it compiles. As a bonus, you'll considerably reduce the compiled code size because more code can be shared