aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/tests.scala
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2015-02-28 00:23:57 +0100
committerGuillaume Martres <smarter@ubuntu.com>2015-03-02 22:33:49 +0100
commita273f38907f15fbb77f5de77f785509aee2d94f4 (patch)
treecf08228b15fee6bc33a1b47d342fdd752b2d8805 /test/dotc/tests.scala
parent4e9987740f206c2376957d08d626f7c1ed087688 (diff)
downloaddotty-a273f38907f15fbb77f5de77f785509aee2d94f4.tar.gz
dotty-a273f38907f15fbb77f5de77f785509aee2d94f4.tar.bz2
dotty-a273f38907f15fbb77f5de77f785509aee2d94f4.zip
FullParameterization: fix rewiring of Returns
The `from` field of a Return tree should either be EmptyTree or an Ident corresponding to the method we're returning from.
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r--test/dotc/tests.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index 615951479..c40ceaaef 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -68,6 +68,7 @@ class tests extends CompilerTest {
@Test def pos_t2613 = compileFile(posSpecialDir, "t2613")(allowDeepSubtypes)
@Test def pos_packageObj = compileFile(posDir, "i0239")
@Test def pos_anonClassSubtyping = compileFile(posDir, "anonClassSubtyping")
+ @Test def pos_extmethods = compileFile(posDir, "extmethods")
@Test def pos_all = compileFiles(posDir, failedOther)