Fix tests: "infix modifier required" and "operator modifier required" errors
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
fun String.not(): Boolean {
|
||||
operator fun String.not(): Boolean {
|
||||
return length == 0
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
fun String.not(): Boolean {
|
||||
operator fun String.not(): Boolean {
|
||||
return length == 0
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
fun Boolean.plus(): Boolean {
|
||||
operator fun Boolean.unaryPlus(): Boolean {
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
idea/testData/intentions/convertNegatedExpressionWithDemorgansLaw/nonstandardPrefixOperator.kt.after
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
fun Boolean.plus(): Boolean {
|
||||
operator fun Boolean.unaryPlus(): Boolean {
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user