I am trying to use the isEqual
method in ScalaMeta.
import scala.meta.contrib._
q"true".isEqual(q"true")
The import does not work:
object contrib is not a member of package meta
I am using sbt
and I have the following in my build.sbt
libraryDependencies += "org.scalameta" %% "scalameta" % "4.0.0"
Where can I find the isEqual
method for ScalaMeta? It appears to have been deprecated. I am following this tutorial
To get access to Scalameta Contrib you can add the following dependency:
isEqual
will be accessible, butq
isn't. You can import it fromscala.meta._
.The corrected example: