Update test data as operator 'mod' became deprecated
Revert this commit after changing 'mod' to 'rem' in stdlib
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
//KT-571 Type inference failed
|
||||
fun <T, R> let(t : T, body : (T) -> R) = body(t)
|
||||
private fun double(d : Int) : Int = let(d * 2) {it / 10 + it * 2 % 10}
|
||||
private fun double(d : Int) : Int = let(d * 2) {it / 10 + it * 2 <!DEPRECATED_BINARY_MOD_AS_REM!>%<!> 10}
|
||||
|
||||
Reference in New Issue
Block a user