[JS Legacy] Add an implicit cast to int for the mod operation
^KT-45620 Fixed
This commit is contained in:
committed by
Space
parent
34ca38d1a0
commit
68117faa73
@@ -1,5 +1,3 @@
|
||||
// DONT_TARGET_EXACT_BACKEND: JS
|
||||
|
||||
fun testModNegativeInt() {
|
||||
// wrapper prevents the constants folding
|
||||
infix fun Int.myModInt(y: Int): Any = this % y
|
||||
|
||||
Reference in New Issue
Block a user