blob: 3f59282083f59975b71f830267ccfce324488ec6 (
plain) (
tree)
|
|
/** When this files is opened within the IDE, a typing error is reported. */
class A[B] extends TestIterable[B] {
import scala.collection.JavaConversions._
def iterator: other.TestIterator[Nothing] = ???
iterator./*!*/
}
object other {
trait TestIterator[T] {
def hasNext: Boolean
def next: T
}
}
|