Add warnings at declaration and call sites of operator 'mod'
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
class Foo {
|
||||
}
|
||||
operator fun Foo.mod(x: Int): Foo = Foo()
|
||||
<!DEPRECATED_BINARY_MOD!>operator<!> fun Foo.mod(x: Int): Foo = Foo()
|
||||
operator fun Foo.rem(x: Int): Int = 0
|
||||
|
||||
fun foo() {
|
||||
|
||||
Reference in New Issue
Block a user