Files
kotlin-fork/idea/testData/quickfix/autoImports/noImportForIndex.kt
T
Valentin Kipyatkov 9cddd0d1a4 Renamed classes
2016-08-29 13:38:17 +03:00

17 lines
354 B
Kotlin
Vendored

// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "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]
}