summaryrefslogtreecommitdiff
path: root/test/files/run/constrained-types.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-06-10 17:32:05 +0000
committerPaul Phillips <paulp@improving.org>2011-06-10 17:32:05 +0000
commit4e85b6fb33baad9910b3d776867dc16c2816acdf (patch)
treee92d9829e239cb1744f688a7831d3f83c291fc8b /test/files/run/constrained-types.scala
parent07fab88cee34e5f59cf88f0dc8e61f2b8817eb24 (diff)
downloadscala-4e85b6fb33baad9910b3d776867dc16c2816acdf.tar.gz
scala-4e85b6fb33baad9910b3d776867dc16c2816acdf.tar.bz2
scala-4e85b6fb33baad9910b3d776867dc16c2816acdf.zip
Tweaks repl tests to enforce -Yrepl-sync and ot...
Tweaks repl tests to enforce -Yrepl-sync and other setup on all clients. Also includes some more why-do-tests-hang bosons for the particle accelerator in case that doesn't wrap it up. I think it will though, because now constrained-types is the only one which failed and it's also the only one which overrides Settings. No review.
Diffstat (limited to 'test/files/run/constrained-types.scala')
-rw-r--r--test/files/run/constrained-types.scala5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/files/run/constrained-types.scala b/test/files/run/constrained-types.scala
index 5f7eb7adde..91bd856d00 100644
--- a/test/files/run/constrained-types.scala
+++ b/test/files/run/constrained-types.scala
@@ -79,15 +79,12 @@ val x : Int @Where(self > 0 && self < 100) = 3
"""
- override def settings: Settings = {
- val s = new Settings
-
+ override def transformSettings(s: Settings): Settings = {
s.Xexperimental.value = true
s.selfInAnnots.value = true
s.deprecation.value = true
// when running that compiler, give it a scala-library to the classpath
s.classpath.value = sys.props("java.class.path")
-
s
}
}