aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t7605-deprecation.scala
diff options
context:
space:
mode:
authorSamuel Gruetter <samuel.gruetter@epfl.ch>2014-03-19 17:36:59 +0100
committerSamuel Gruetter <samuel.gruetter@epfl.ch>2014-03-19 17:36:59 +0100
commit24ac35546c2c159403e91144e0e4add585ee9ae5 (patch)
tree7edcfe086d37e4a8cead0707aed3d6de6132c739 /tests/untried/neg/t7605-deprecation.scala
parent33b0e7b1ab0e71f525c75705dcd91b4b7d9d0994 (diff)
downloaddotty-24ac35546c2c159403e91144e0e4add585ee9ae5.tar.gz
dotty-24ac35546c2c159403e91144e0e4add585ee9ae5.tar.bz2
dotty-24ac35546c2c159403e91144e0e4add585ee9ae5.zip
apply srewrite (no procedure syntax for constructors) to tests/untried/neg
Diffstat (limited to 'tests/untried/neg/t7605-deprecation.scala')
-rw-r--r--tests/untried/neg/t7605-deprecation.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/untried/neg/t7605-deprecation.scala b/tests/untried/neg/t7605-deprecation.scala
index 30cd21bd6..214f32437 100644
--- a/tests/untried/neg/t7605-deprecation.scala
+++ b/tests/untried/neg/t7605-deprecation.scala
@@ -3,6 +3,6 @@ abstract class Foo {
def baz
def boo(i: Int, l: Long)
def boz(i: Int, l: Long): Unit = {}
- def this(i: Int) { this() } // Don't complain here!
+ def this(i: Int) = { this() } // Don't complain here!
def foz: Unit // Don't complain here!
}