aboutsummaryrefslogtreecommitdiff
path: root/tests/untried
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-03-16 21:39:18 +0100
committerTobias Schlatter <tobias@meisch.ch>2014-03-21 11:24:04 +0100
commit7bf837c79315e5db7e049f3ffeb6c6842d18880c (patch)
treefc74ac3f158adeba356fbca9d0d0df91d894c3d8 /tests/untried
parent2c2ab10958e27ced276c9906f18a67c1eddd1928 (diff)
downloaddotty-7bf837c79315e5db7e049f3ffeb6c6842d18880c.tar.gz
dotty-7bf837c79315e5db7e049f3ffeb6c6842d18880c.tar.bz2
dotty-7bf837c79315e5db7e049f3ffeb6c6842d18880c.zip
Fix of t0774: empty file
Was previously wrapped in a package <empty> but the resulting tree had no position, which caused a Typer assertion. If now represented as EmptyTree.
Diffstat (limited to 'tests/untried')
-rw-r--r--tests/untried/pos/t0774/deathname.scala1
-rw-r--r--tests/untried/pos/t0774/unrelated.scala9
2 files changed, 0 insertions, 10 deletions
diff --git a/tests/untried/pos/t0774/deathname.scala b/tests/untried/pos/t0774/deathname.scala
deleted file mode 100644
index 8b1378917..000000000
--- a/tests/untried/pos/t0774/deathname.scala
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/tests/untried/pos/t0774/unrelated.scala b/tests/untried/pos/t0774/unrelated.scala
deleted file mode 100644
index 1efdb2505..000000000
--- a/tests/untried/pos/t0774/unrelated.scala
+++ /dev/null
@@ -1,9 +0,0 @@
-object Outer {
- import Inner._
-
- deathname
-
- object Inner {
- def deathname: Int = 1
- }
-}