aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2013-07-11 15:34:21 +1000
committerJason Zaugg <jzaugg@gmail.com>2013-07-11 15:34:21 +1000
commitc78081090ef2fddcb013c908b3a986d2769a9fe2 (patch)
tree087c7c6b644c50535b1d19f68099fdd9e761ed27 /build.sbt
parente4053220e091988e883f87d66459f329d5a39920 (diff)
downloadscala-async-c78081090ef2fddcb013c908b3a986d2769a9fe2.tar.gz
scala-async-c78081090ef2fddcb013c908b3a986d2769a9fe2.tar.bz2
scala-async-c78081090ef2fddcb013c908b3a986d2769a9fe2.zip
Comply with range position checking.
- Make sure all trees are positioned - Mark range positions for synthetic code as transparent to allow some wiggle room for overlapping ranges. Enables -Yrangepos for our test suite. We can't add it for the entire build until the fix for SI-7649 lands in the compiler.
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.sbt b/build.sbt
index f7de6c6..d6dc3bb 100644
--- a/build.sbt
+++ b/build.sbt
@@ -32,6 +32,8 @@ scalacOptions += "-P:continuations:enable"
scalacOptions ++= Seq("-deprecation", "-unchecked", "-Xlint", "-feature")
+scalacOptions in Test ++= Seq("-Yrangepos")
+
description := "An asynchronous programming facility for Scala, in the spirit of C# await/async"
homepage := Some(url("http://github.com/scala/async"))