From a0a2aa26762aa773dc3f0f20a574c9bf1e3c37e2 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Mon, 19 Aug 2013 10:56:06 +0200 Subject: SI-6797 Test case for already-fixed DelayedInit bug Progressed in b4fbb7be0e2, "translation for DelayedInit keeps more code in original class." --- test/files/pos/t6797.scala | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/files/pos/t6797.scala diff --git a/test/files/pos/t6797.scala b/test/files/pos/t6797.scala new file mode 100644 index 0000000000..ef1afa1eb3 --- /dev/null +++ b/test/files/pos/t6797.scala @@ -0,0 +1,4 @@ +object Test extends App /* workaround: don't extend App */ { + private class Matcher(aParam: Option[String] = None) + private val stringMatcher = new Matcher +} -- cgit v1.2.3