Files
kotlin/idea/testData/quickfix/modifiers/operatorModifierInherited.kt
2015-10-06 16:12:09 +02:00

11 lines
152 B
Kotlin
Vendored

// "Add 'operator' modifier" "true"
open class Foo {
fun get(idx: Int): Any = 5
}
object Bar : Foo()
fun test(): Any {
return Bar<caret>[5]
}