From c78081090ef2fddcb013c908b3a986d2769a9fe2 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Thu, 11 Jul 2013 15:34:21 +1000 Subject: 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. --- build.sbt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build.sbt') 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")) -- cgit v1.2.3