aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-07-03 19:04:17 +0200
committerMartin Odersky <odersky@gmail.com>2014-07-17 11:02:00 +0200
commit357003062f994ac8a8ed985248e749297093185f (patch)
treecd39d0ffa87e04c1b2d563ffe7540d4a30a3d1e4 /test
parentdb88bf06958e33ae415ca227808ab1f3e48fed7f (diff)
downloaddotty-357003062f994ac8a8ed985248e749297093185f.tar.gz
dotty-357003062f994ac8a8ed985248e749297093185f.tar.bz2
dotty-357003062f994ac8a8ed985248e749297093185f.zip
ExtensionMethods phase and TypeUtils
New phase for extension methods. Also, split off some type handling functionality that can be used elsewhere in new TypeUtils decorator. The idea is that TypeUtils should contain methods on Type that make sense specifically for transformations. That way, we can keep Types from growing. Might make sense to do similar decorators for Denotations as well. There's a bug fix in MacroTransform: Need to treat selfInfo varDels specially, since they have no symbol.
Diffstat (limited to 'test')
-rw-r--r--test/dotc/tests.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index 92aa7240a..b1e0a6efe 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:super"//, "-Ystop-before:terminal"
+ "-Ycheck:extmethods"//, "-Ystop-before:terminal"
)
val twice = List("#runs", "2", "-YnoDoubleBindings")
@@ -47,7 +47,6 @@ class tests extends CompilerTest {
@Test def pos_overloaded() = compileFile(posDir, "overloaded", doErase)
@Test def pos_templateParents() = compileFile(posDir, "templateParents", doErase)
@Test def pos_structural() = compileFile(posDir, "structural", doErase)
- @Test def pos_i39 = compileFile(posDir, "i39", doErase)
@Test def pos_overloadedAccess = compileFile(posDir, "overloadedAccess", doErase)
@Test def pos_approximateUnion = compileFile(posDir, "approximateUnion", doErase)
@Test def pos_tailcall = compileDir(posDir + "tailcall/", doErase)