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

inline flags caused build issues #2

Open
alexjbest opened this issue Sep 5, 2019 · 0 comments
Open

inline flags caused build issues #2

alexjbest opened this issue Sep 5, 2019 · 0 comments

Comments

@alexjbest
Copy link

I'm a complete scala novice so take this with a pinch of salt, but I wanted to post this incase it helps anyone else who couldn't build trepplein.

Running sbt stage gave me numerous errors which lead me to scala/bug#11247 following the suggestion there and removing inline flags then re-running the build worked.

diff --git a/build.sbt b/build.sbt
index d537e73..5d49ac3 100644
--- a/build.sbt
+++ b/build.sbt
@@ -14,7 +14,7 @@ libraryDependencies += "org.specs2" %% "specs2-core" % "4.2.0" % "test"
 
 scalacOptions ++= {
   if (!scalaVersion.value.startsWith("2.12.")) Seq()
-  else Seq("-opt:l:inline", "-opt-inline-from:**", "-opt-warnings")
+  else Seq("-opt-warnings")
 }
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

1 participant