Update testdata according to change compiler version to 1.4
This commit is contained in:
@@ -206,7 +206,7 @@ abstract class Tag(val name: String) : Element() {
|
||||
val children = ArrayList<Element>()
|
||||
val attributes = HashMap<String, String>()
|
||||
|
||||
inline protected fun <T : Element> initTag(tag: T, init: T.() -> Unit): T {
|
||||
inline fun <T : Element> initTag(tag: T, init: T.() -> Unit): T {
|
||||
tag.init()
|
||||
children.add(tag)
|
||||
return tag
|
||||
|
||||
+1
-1
@@ -210,7 +210,7 @@ abstract class Tag(val name: String) : Element() {
|
||||
val children = ArrayList<Element>()
|
||||
val attributes = HashMap<String, String>()
|
||||
|
||||
inline protected fun <T : Element> initTag(tag: T, init: T.() -> Unit): T {
|
||||
inline fun <T : Element> initTag(tag: T, init: T.() -> Unit): T {
|
||||
tag.init()
|
||||
children.add(tag)
|
||||
return tag
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ fun box(): String {
|
||||
check(js("String"), "String", String::class)
|
||||
check(js("Boolean"), "Boolean", Boolean::class)
|
||||
check(js("Error"), "Throwable", Throwable::class)
|
||||
check(js("Array"), "Array", Array<Any>::class)
|
||||
check(js("Array"), "Array", Array::class)
|
||||
check(js("Function"), "Function0", Function0::class)
|
||||
check(js("Function"), "Function1", Function1::class)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user