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:
Andrey Breslav
2013-10-15 14:41:45 +04:00
parent 6154464050
commit f05f3f5686
7 changed files with 30 additions and 19 deletions
+1 -1
View File
@@ -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)