Let the user know that class object bounds are not supported
KT-4080 Code analisys show all good, but got compile error #KT-4080 Fixed
This commit is contained in:
@@ -15,7 +15,7 @@ import java.util.*
|
||||
val attributes = HashMap<String, String>()
|
||||
|
||||
protected fun initTag<T : Element>(init : T.() -> Unit) : T
|
||||
where class object T : Factory<T>{
|
||||
where <error>class object T : Factory<T></error>{
|
||||
val tag = T.create()
|
||||
tag.init()
|
||||
children.add(tag)
|
||||
|
||||
Reference in New Issue
Block a user