Files
kotlin-fork/idea/testData/quickfix/renameToRem/modAsExtension.kt
T
Mikhail Zarechenskiy 5869274ff1 Disable errors in mod/rem tests that depend on language feature
Otherwise these tests will fail with LV=1.3
2018-07-05 12:59:43 +03:00

10 lines
131 B
Kotlin
Vendored

// "Rename to 'rem'" "true"
// DISABLE-ERRORS
object A
operator<caret> fun A.mod(x: Int) {}
fun test() {
A.mod(3)
A % 2
}