Drop traits with required classes
#KT-4771 Rejected
This commit is contained in:
Vendored
+3
-3
@@ -24,8 +24,8 @@ class LI : ListTag() {}
|
||||
public fun ListTag.item(body: LI.() -> Unit): Unit {}
|
||||
fun HtmlTag.a(contents: A.() -> Unit) {}
|
||||
|
||||
interface A : HtmlTag {
|
||||
public var text: String
|
||||
abstract class A : HtmlTag() {
|
||||
public abstract var text: String
|
||||
}
|
||||
|
||||
fun listOf(vararg strings: String): List<String> {
|
||||
@@ -34,4 +34,4 @@ fun listOf(vararg strings: String): List<String> {
|
||||
list.add(s)
|
||||
}
|
||||
return list
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user