Add warnings at declaration and call sites of operator 'mod'

This commit is contained in:
Mikhail Zarechenskiy
2016-12-05 22:43:07 +03:00
parent 97ca51381a
commit 5f71f1bcad
18 changed files with 222 additions and 20 deletions
+1 -1
View File
@@ -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();
}
}