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
A.scala:
package skip package a import acyclic.skipped trait A { val b: B }
B.scala:
package skip package a import acyclic.skipped trait B { val a: A }
build.sbt:
organization in ThisBuild := "skip" version in ThisBuild := "1.0-SNAPSHOT" scalaVersion in ThisBuild := "2.12.5" val acyclicVersion = "0.1.7" val acyclicDep = "com.lihaoyi" %% "acyclic" % acyclicVersion % Provided lazy val acyclicCompilerPlugin = addCompilerPlugin("com.lihaoyi" %% "acyclic" % acyclicVersion) autoCompilerPlugins in ThisBuild := true lazy val `acyclic` = (project in file(".")) .settings(settings) lazy val settings = Seq( libraryDependencies ++= Seq( acyclicDep ), acyclicCompilerPlugin ) scalacOptions in ThisBuild ++= Seq( "-P:acyclic:force", // Run cyclic dependencies check on all files )
If you change
package skip package a
to package skip.a in both files, then it compiles fine.
package skip.a
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A.scala:
B.scala:
build.sbt:
If you change
to
package skip.a
in both files, then it compiles fine.
The text was updated successfully, but these errors were encountered: