Files
kotlin-fork/idea/testData/inspectionsLocal/conventionNameCalls/replaceCallWithBinaryOperator/modSanityTest.kt
T
Mikhail Glukhikh 54e7fe6c52 Add language version 1.2 to mod-related inspection test thus fixing it
This does not work in 1.3 because mod is no more supported
2018-09-18 11:50:39 +03:00

11 lines
174 B
Kotlin
Vendored

// PROBLEM: none
// LANGUAGE_VERSION: 1.2
fun test() {
class Test {
operator fun mod(a: Int): Test = Test()
}
val test = Test()
test.<caret>mod(1)
}