Files
kotlin-fork/idea/testData/quickfix/autoImports/noImportForIndex.kt
T
2015-10-05 15:33:45 +03:00

17 lines
358 B
Kotlin
Vendored

// "class org.jetbrains.kotlin.idea.quickfix.AutoImportFix" "false"
// ERROR: Unresolved reference: some[12]
// ERROR: No get method providing array access
package Teting
class Some() {
// fun get(i : Int) : Int {
// return i
// }
}
fun main(args : Array<String>) {
val some = Some()
// Nothing should be changed
<caret>some[12]
}