KT-4820: Added new tests, introduced functionality to detect overridden functions, other minor fixes
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
// IS_APPLICABLE: FALSE
|
||||
//ERROR: Unresolved reference: withIndices
|
||||
fun foo(b: List<Int>) {
|
||||
//WITH_RUNTIME
|
||||
|
||||
fun foo(b: List<Int>) : Int {
|
||||
for ((i, <caret>c) in b.withIndices()) {
|
||||
return i
|
||||
}
|
||||
return 0
|
||||
}
|
||||
Reference in New Issue
Block a user