68ea677cc4
#KT-34303 Fixed
12 lines
215 B
Kotlin
Vendored
12 lines
215 B
Kotlin
Vendored
// "Import" "true"
|
|
// ERROR: For-loop range must have an 'iterator()' method
|
|
// WITH_RUNTIME
|
|
|
|
package bar
|
|
|
|
import foo.Foo
|
|
import foo.iterator
|
|
|
|
fun foo(start: Foo, end: Foo) {
|
|
for (date in start<caret>..end) {}
|
|
} |