Add warnings at declaration and call sites of operator 'mod'
This commit is contained in:
@@ -4,7 +4,7 @@ package kt629
|
||||
|
||||
class A() {
|
||||
var p = "yeah"
|
||||
operator fun mod(<!UNUSED_PARAMETER!>other<!> : A) : A {
|
||||
operator fun rem(<!UNUSED_PARAMETER!>other<!> : A) : A {
|
||||
return A();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user