We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here's a scastie: https://scastie.scala-lang.org/oS3IvTm8RLCaFxII64wkbw
Here's the code:
import com.eed3si9n.expecty.Expecty.expect trait Eq[T] { def eq(x: T, y: T): Boolean } object Eq { implicit val eqInt: Eq[Int] = new Eq[Int] { def eq(x: Int, y: Int) = (x - y) == 0 } } implicit class EqOps[T](i: T)(implicit eq: Eq[T]) { def `===`(other: T) = eq.eq(i, other) } @main def hello = expect(1 === 1)
And it fails with
Found: main$package.EqOps[Int] Required: (implicit eq: Eq[Int]): main$package.EqOps[Int]
According to disneystreaming/weaver-test#313 it behaves differently on 2.13
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Here's a scastie: https://scastie.scala-lang.org/oS3IvTm8RLCaFxII64wkbw
Here's the code:
And it fails with
According to disneystreaming/weaver-test#313 it behaves differently on 2.13
The text was updated successfully, but these errors were encountered: