Report warning on unary plus()/minus()
This commit is contained in:
+1
-1
@@ -93,7 +93,7 @@ abstract class Tag(val name : String) : Element() {
|
||||
}
|
||||
|
||||
abstract class TagWithText(name : String) : Tag(name) {
|
||||
operator fun String.plus() {
|
||||
operator fun String.unaryPlus() {
|
||||
children.add(TextElement(this))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user