[Wasm] Fix inliner issues (KT-56584)

* Fix objects in inline functions and lambdas:
  * Add common lowerings used in K/JS and K/Native
* Fix inline lambda call detection logic in presence of additional casts


Merge-request: KT-MR-8791
Merged-by: Svyatoslav Kuzmich <svyatoslav.kuzmich@jetbrains.com>
This commit is contained in:
Svyatoslav Kuzmich
2023-02-13 13:14:43 +00:00
committed by Space Team
parent 1b5210b870
commit 26c1098a4f
21 changed files with 64 additions and 34 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: WASM
// KT-33992
class P<T>(val a: T, val b: T)