Android Extensions: Fix compilation when LayoutContainer is used as an interface (KT-19753)
This commit is contained in:
committed by
Yan Zhulanow
parent
eefb490a8a
commit
3f4ddb006a
Vendored
+5
-1
@@ -26,8 +26,12 @@ class MyActivity(): Activity() {
|
||||
}
|
||||
})
|
||||
|
||||
val entity2: LayoutContainer = entity
|
||||
|
||||
public fun box(): String {
|
||||
return if (entity.login.toString() == "Button") "OK" else ""
|
||||
val o = if (entity.login.toString() == "Button") "O" else ""
|
||||
val k = if (entity2.login.toString() == "Button") "K" else ""
|
||||
return o + k // "OK"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user