Closed technoir42 closed 6 years ago
We can lobby them to fix it in 1.2.60 which will be out before our 1.0.0. I don't really want to change the API, especially in this way, to work around bugs in the Kotlin compiler. We have tens of inline extension properties and there's surely thousands or more across the entire Kotlin library ecosystem and it's infeasible to change them all.
Kotlin compiler (1.2.50) crashes if we use extension property like
View.isVisible
markedinline
inside a SAM-converted lambda function. Sample code:Can we remove the
inline
modifier for now until this bug is fixed in the compiler?