aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/tests.scala
diff options
context:
space:
mode:
authorodersky <odersky@gmail.com>2014-03-21 09:17:59 +0100
committerodersky <odersky@gmail.com>2014-03-21 09:17:59 +0100
commitfd76c38000f206b3d27ac68eaeddb0f76678dfc2 (patch)
tree8355f0ef64102f569ebd970e49c2a591116d0b44 /test/dotc/tests.scala
parentb5864b48d04adf6cab1dbe58d394ad608dafd440 (diff)
parente50646c21cbc842c1188fc876e16ea2b3e2a2ea3 (diff)
downloaddotty-fd76c38000f206b3d27ac68eaeddb0f76678dfc2.tar.gz
dotty-fd76c38000f206b3d27ac68eaeddb0f76678dfc2.tar.bz2
dotty-fd76c38000f206b3d27ac68eaeddb0f76678dfc2.zip
Merge pull request #88 from dotty-staging/try/hygienic-desugaring
Try/hygienic desugaring
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r--test/dotc/tests.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index 0caef3cae..1ddd0a578 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -18,6 +18,7 @@ class tests extends CompilerTest {
val posDir = "./tests/pos/"
val negDir = "./tests/neg/"
+ val newDir = "./tests/new/"
val dotcDir = "./src/dotty/"
/*
@Test def pos_Coder() = compileFile(posDir, "Coder", twice)
@@ -46,6 +47,7 @@ class tests extends CompilerTest {
@Test def pos_approximateUnion = compileFile(posDir, "approximateUnion", twice)
*/
@Test def pos_all = compileFiles(posDir, twice)
+ @Test def pos_new = compileFiles(newDir, "-Xprompt" :: Nil)
@Test def neg_blockescapes() = compileFile(negDir, "blockescapesNeg", xerrors = 1)
@Test def neg_typedapply() = compileFile(negDir, "typedapply", xerrors = 4)