Minor: fix broken tests
This commit is contained in:
Vendored
+1
-1
@@ -3,5 +3,5 @@ package kotlinx.android.synthetic.test.view
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.view.View.button: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0) as? android.view.View
|
||||
get() = findViewById(0)
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package kotlinx.android.synthetic.test.view
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.view.View.textView1: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0) as? android.view.View
|
||||
get() = findViewById(0)
|
||||
|
||||
val android.view.View.textView2: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
Vendored
+1
-1
@@ -3,7 +3,7 @@ package kotlinx.android.synthetic.test.view
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.view.View.button: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0) as? android.view.View
|
||||
get() = findViewById(0)
|
||||
|
||||
val android.view.View.button2: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package kotlinx.android.synthetic.test.view
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.view.View.includeTag: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0) as? android.view.View
|
||||
get() = findViewById(0)
|
||||
|
||||
val android.view.View.`fun`: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
Vendored
+1
-1
@@ -3,7 +3,7 @@ package kotlinx.android.synthetic.test.view
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.view.View.includeTag: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0) as? android.view.View
|
||||
get() = findViewById(0)
|
||||
|
||||
val android.view.View.`fun`: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
Vendored
+2
-2
@@ -3,6 +3,6 @@ package kotlinx.android.synthetic.test.view
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@kotlin.internal.flexible.InvalidWidgetType("a.b.c")
|
||||
val android.view.View.MyView: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0) as? android.view.View
|
||||
val android.view.View.MyView: ft<a.b.c, a.b.c?>
|
||||
get() = findViewById(0) as? a.b.c
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -4,5 +4,5 @@ import kotlin.internal.flexible.ft
|
||||
|
||||
@kotlin.internal.flexible.InvalidWidgetType("KeyboardView")
|
||||
val android.view.View.MyKeyboardView: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0) as? android.view.View
|
||||
get() = findViewById(0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user