aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-03-17 18:06:58 +0100
committerTobias Schlatter <tobias@meisch.ch>2014-03-21 11:28:30 +0100
commit474b35ff0160c1174674757895e93818dc4f2f19 (patch)
tree59116d59f88ca74cacea68de71b58043a15ee03d /tests
parent0a1ec31c2a17c5dd0e6bd363979cbf17a8860616 (diff)
downloaddotty-474b35ff0160c1174674757895e93818dc4f2f19.tar.gz
dotty-474b35ff0160c1174674757895e93818dc4f2f19.tar.bz2
dotty-474b35ff0160c1174674757895e93818dc4f2f19.zip
Fix of t1123 - Unit discarding
Need to do unit discarding also in selection prototypes.
Diffstat (limited to 'tests')
-rw-r--r--tests/pos/t1123.scala (renamed from tests/untried/pos/t1123.scala)2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/untried/pos/t1123.scala b/tests/pos/t1123.scala
index 3812fa3eb..e3a89c14a 100644
--- a/tests/untried/pos/t1123.scala
+++ b/tests/pos/t1123.scala
@@ -7,5 +7,5 @@ object Test {
}
def f = extraListener.h
}
- def main(args : Array[String]) : Unit = (new Editor).f
+ def main(args : Array[String]): Unit = (new Editor).f
}