[FIR] KT-55747: Report error for operator fun mod
^KT-55747 Fixed Merge-request: KT-MR-8522 Merged-by: Nikolay Lunyak <Nikolay.Lunyak@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
37a7044e74
commit
e2403c801f
+1
-1
@@ -6,7 +6,7 @@ object A {
|
||||
@Deprecated("Use mod instead", ReplaceWith("mod"), DeprecationLevel.HIDDEN)
|
||||
operator fun rem(x: Int) = 0
|
||||
|
||||
operator fun mod(x: Int) = ""
|
||||
<!DEPRECATED_BINARY_MOD!>operator<!> fun mod(x: Int) = ""
|
||||
}
|
||||
|
||||
fun test() {
|
||||
|
||||
Reference in New Issue
Block a user