JS IR: top-level initializer lowering

This commit is contained in:
Anton Bannykh
2018-06-09 19:06:11 +03:00
parent c5160a6a95
commit d938c91711
5 changed files with 44 additions and 11 deletions
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
fun Any.with(operation : Any.() -> Any) = operation().toString()
val f = { a : Int -> }
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
interface T {
fun foo(): String
}
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
open class Foo<T>(val x: T)
typealias FooStr = Foo<String>