Fix generating cls stubs when is metadata using type tables (KT-23345)

Affected cases:
 - return type for suspend lambda
 - aliased type in type alias declaration
 - using type alias instead of aliased type in declarations

 #KT-23345 Fixed
This commit is contained in:
Nikolay Krasko
2018-03-20 12:51:31 +03:00
parent 875e0a64e7
commit 117890dba8
5 changed files with 48 additions and 12 deletions
@@ -35,3 +35,5 @@ val DO_NOTHING_2: (Any?, Any?) -> Unit = { _, _ -> }
val DO_NOTHING_3: (Any?, Any?, Any?) -> Unit = { _, _, _ -> }
fun <T> doNothing(): (T) -> Unit = DO_NOTHING
fun doNothing() {}