17 lines
354 B
Kotlin
Vendored
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]
|
|
} |