mirror of
https://github.com/sbt/sbt.git
synced 2026-09-03 08:34:34 +02:00
a9cdd96152e08a1fb21e815eabe8fd1d27ef9b97
When the compiler reports back the error to CompilationUnit created by Eval#mkUnit, it sometimes returns OffsetPosition whose `source` is set to `NoSourceFile`. This causes ArrayIndexOutOfBoundsException. The current workaround is to pattern match on the passed in pos and create a new one when the incoming source looks suspicious. I have not figured out whether this is caused by our macro code or compiler. There are various build.sbt errors that would cause this behavior: ```scala libraryDependencies ++= Seq( depA depB // missing comma ) lazy val bob = scala.Console println test ++ run+ ```
sbt
sbt is a build tool for Scala, Java, and more. For general documentation, see http://www.scala-sbt.org/.
Issues and Pull Requests
Please read CONTRIBUTING carefully before opening a GitHub Issue. The short version: try StackOverflow and sbt-dev. Don't open an Issue.
sbt 0.13
This is the 0.13.x series of sbt.
- Setup: Describes getting started with the latest binary release.
- FAQ: Explains how to get help and more.
- Google Code: hosts sbt 0.7.7 and earlier versions
license
See LICENSE.
Languages
Scala
94.5%
Java
3.1%
Shell
1.1%
Batchfile
0.9%
Roff
0.2%
Other
0.1%