Files
kotlin/idea/testData/quickfix/deprecatedSymbolUsage/replaceModToRem.kt
Mikhail Zarechenskiy 0c6a860a22 ReplaceWith annotation resolver: use module from resolution facade to build imports scope
#KT-15873 Fixed

Using module from original element may lead to exceptions as it could be
<built-ins module> (after deprecation of `mod` operator)
2017-01-27 14:13:13 +03:00

5 lines
73 B
Kotlin
Vendored

// "Replace with 'rem(other)'" "true"
fun test() {
1.<caret>mod(3)
}