Skip to content
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

compile error in build.sbt #397

Closed
xuwei-k opened this issue Apr 23, 2018 · 1 comment
Closed

compile error in build.sbt #397

xuwei-k opened this issue Apr 23, 2018 · 1 comment

Comments

@xuwei-k
Copy link
Contributor

xuwei-k commented Apr 23, 2018

since 2cdfc55

https://github.com/rickynils/scalacheck/blob/2cdfc5512a48672c6c1439f1aca4271f8c05353e/build.sbt#L81-L84

/home/travis/build/[secure]/scalacheck/build.sbt:83: error: type mismatch;
 found   : String("org.scalacheck")
 required: ?{def %%%(x$1: ? >: String("scalacheck")): ?}
Note that implicit conversions are not applicable because they are ambiguous:
 both method toScalaJSGroupID in trait DependencyBuilders of type (groupID: String)org.scalajs.sbtplugin.impl.ScalaJSGroupID
 and method toPlatformDepsGroupID in object autoImport of type (groupID: String)org.portablescala.sbtplatformdeps.PlatformDepsGroupID
 are possible conversion functions from String("org.scalacheck") to ?{def %%%(x$1: ? >: String("scalacheck")): ?}
      Set("org.scalacheck" %%% "scalacheck" % "1.14.0")
          ^
/home/travis/build/[secure]/scalacheck/build.sbt:83: error: value %%% is not a member of String
      Set("org.scalacheck" %%% "scalacheck" % "1.14.0")
                           ^
[error] sbt.compiler.EvalException: Type error in expression
ceedubs added a commit to ceedubs/scalacheck that referenced this issue Apr 25, 2018
Resolves typelevel#397

I'm not sure whether or not we theoretically lose any compatibility
checks by using `%%` instead of `%%%`. Hopefully someone with more
Scala.js and/or Scala Native experience can weigh in on that.
@rickynils
Copy link
Contributor

Fixed in #399

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants