KT-4820: Added new tests, introduced functionality to detect overridden functions, other minor fixes

This commit is contained in:
Ross Hanson
2014-05-09 05:36:46 -04:00
parent 35c5a62b11
commit bbbdfd25d9
30 changed files with 170 additions and 75 deletions
@@ -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
}