Wildly incorrect parse error
See original GitHub issueMy build.sbt
looks like:
import com.unhandledexpression.sbtclojure.ClojurePlugin.clojure
import Keys
scalaVersion := "2.11.6"
seq(clojure.settings :_*)
resolvers += "clojars" at "http://clojars.org/repo/"
libraryDependencies += "org.scalatest" % "scalatest_2.11" % "2.2.4" % "test"
libraryDependencies += "org.scalacheck" %% "scalacheck" % "1.12.2" % "test"
libraryDependencies += "org.clojure" % "clojure" % "1.6.0"
libraryDependencies += "instaparse" % "instaparse" % "1.4.0"
// Remove the clojurec Task from the standard `compile` dependencies
clojure.clojurec in Compile := Seq.empty
clojure.clojurec <<= clojure.clojurec.dependsOn(Keys.compile)
(I’m using the sbt-clojure plugin for clojure interop.) Things get interesting when I run sbt
:
$ sbt
[info] Loading project definition from /.../project
[error] ======
[error] import com.unhandledexpression.sbtclojure.ClojurePlugin.clojure
[error] import Keys
[error]
[error] scalaVersion := "2.11.6"
[error]
[error] seq(clojure.settings :_*)
[error]
[error] resolvers += "clojars" at "http://clojars.org/repo/"
[error]
[error] libraryDependencies += "org.scalatest" % "scalatest_2.11" % "2.2.4" % "test"
[error] libraryDependencies += "org.scalacheck" %% "scalacheck" % "1.12.2" % "test"
[error] libraryDependencies += "org.clojure" % "clojure" % "1.6.0"
[error] libraryDependencies += "instaparse" % "instaparse" % "1.4.0"
[error]
[error] // Remove the clojurec Task from the standard `compile` dependencies
[error] clojure.clojurec in Compile := Seq.empty
[error]
[error] //
[error] clojure.clojurec <<= clojure.clojurec.dependsOn(Keys.compile)
[error] ======
[error] [/.../build.sbt]:4: '.' expected but ';' found.
Not only is this error message unhelpful, there is no semicolon anywhere in the file at all!
Issue Analytics
- State:
- Created 8 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
9 Easy Fixes for a Formula Parse Error in Google Sheets
In this article, we go over all the common formula parse errors in Google Sheets — and how to fix them, with easy...
Read more >Parse error at '[' : usage might be invalid MATLAB syntax
I am receiveing an error of invalid syntax: Parse error at '[' : usage might be ... Function call to jpattern_num.m where the...
Read more >How to correct "Parse" error - MATLAB Answers - MathWorks
I'm writing a function and recieving a "Parse error at t; usuage might be invalid MATLAB syntax". My code is;. Theme. Copy to...
Read more >Structure your Errors | jelv.is
The implementation details, however, vary wildly between language and Haskell has some unique ... Parse errors, if a config file has invalid syntax....
Read more >Wildly conflicting timestamps for events - Splunk Community
I'm guessing you have incorrect time stamp parsing. You probably need to look at that particular source and check for data that looks...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
There’s a PR against scala to offer a less cryptic message.
Fixed in https://github.com/scala/scala/pull/6130