munit.internal.Compat.scala Maven / Gradle / Ivy
package munit.internal
import scala.reflect.Selectable.reflectiveSelectable
object Compat {
type LazyList[+T] = scala.LazyList[T]
val LazyList = scala.LazyList
def productElementNames(p: Product): Iterator[String] =
p.productElementNames
def collectionClassName(i: Iterable[_]): String = {
i.asInstanceOf[{ def collectionClassName: String }].collectionClassName
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy