Report warning on unary plus()/minus()

This commit is contained in:
Yan Zhulanow
2015-10-12 18:37:28 +03:00
parent 58cbf09232
commit b2470a6aad
16 changed files with 75 additions and 36 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ import java.util.*
}
abstract class TagWithText(name : String) : Tag(name) {
operator fun String.plus() {
operator fun String.unaryPlus() {
children.add(TextElement(this))
}
}