aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-07-10 16:57:59 +0200
committerMartin Odersky <odersky@gmail.com>2014-07-17 11:02:02 +0200
commitfc784b8cd338eecc98e1b23ea2f27d0c82e9fe87 (patch)
tree271a3b99fc6f6ee0bf68b2cfb8c6c7bb5860a700 /test
parent1d4c5f69de68975df3bc95e461971e1e4a779ff6 (diff)
downloaddotty-fc784b8cd338eecc98e1b23ea2f27d0c82e9fe87.tar.gz
dotty-fc784b8cd338eecc98e1b23ea2f27d0c82e9fe87.tar.bz2
dotty-fc784b8cd338eecc98e1b23ea2f27d0c82e9fe87.zip
Enabled ExtensionMethods
Fixed extension methods so that it now runs and passes the build. Also enables ElimRepeated, which is a prerequistite for ExtensionMethods. Exception: Tailrec is currently disabled, because it needs to run before ExtensionMethods but it fails the -Ycheck test. Therefore the current tests skip this phase.
Diffstat (limited to 'test')
-rw-r--r--test/dotc/tests.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index b1e0a6efe..ac4e915c2 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -14,7 +14,7 @@ class tests extends CompilerTest {
"-pagewidth", "160")
implicit val defaultOptions = noCheckOptions ++ List(
- "-Ycheck:extmethods"//, "-Ystop-before:terminal"
+ "-Yskip:tailrec, -Ycheck:extmethods"//, "-Ystop-before:terminal"
)
val twice = List("#runs", "2", "-YnoDoubleBindings")