New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implicit resolution regression, as seen in SBT. #6966
Comments
Imported From: https://issues.scala-lang.org/browse/SI-6966?orig=1 |
@retronym said: import Ordering.{Byte, comparatorToOrdering}
trait Format[T]
object CacheIvy {
implicit def basicInputCache[I](implicit fmt: Format[I], eqv: Equiv[I]): InputCache[I] = null
implicit def arrEquiv[T](implicit t: Equiv[T]): Equiv[Array[T]] = null
implicit def hNilCache: InputCache[HNil] = null
implicit def ByteArrayFormat: Format[Array[Byte]] = null
type :+:[H, T <: HList] = HCons[H,T]
implicit def hConsCache[H, T <: HList](implicit head: InputCache[H], tail: InputCache[T]): InputCache[H :+: T] = null
hConsCache[Array[Byte], HNil]
}
sealed trait HList
sealed trait HNil extends HList
object HNil extends HNil
final class HCons[H, T <: HList](head : H, tail : T) extends HList
Fixed by:
|
@retronym said: |
@retronym said: Code like: context.condBufferFlush(_.kind != ErrorKinds.Divergent) is surely involved. But I didn't find a way to trigger that problem without this bug. For posterity, the reproduction is:
|
See thread:
https://groups.google.com/d/topic/simple-build-tool/-0yD3c6nJpI/discussion
The text was updated successfully, but these errors were encountered: