Add quick fixes for mod/rem migration
- Remove 'operator' modifier - Rename operator 'mod/modAssign' to 'rem/remAssign'
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// "Rename to 'rem'" "true"
|
||||
|
||||
object A
|
||||
operator<caret> fun A.mod(x: Int) {}
|
||||
|
||||
fun test() {
|
||||
A.mod(3)
|
||||
A % 2
|
||||
}
|
||||
Reference in New Issue
Block a user