summaryrefslogtreecommitdiff
path: root/test/files/pos/bug1909b.scala
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@epfl.ch>2009-10-28 17:06:48 +0000
committerHubert Plociniczak <hubert.plociniczak@epfl.ch>2009-10-28 17:06:48 +0000
commitcc934ee7bb181645d4436eb923f7eb843b7c259d (patch)
treec8bc73b1b74a56cc30fc60d8f0b5f01509228917 /test/files/pos/bug1909b.scala
parent03e717bdc79ddc2ad7a603698241fe39c9255a8a (diff)
downloadscala-cc934ee7bb181645d4436eb923f7eb843b7c259d.tar.gz
scala-cc934ee7bb181645d4436eb923f7eb843b7c259d.tar.bz2
scala-cc934ee7bb181645d4436eb923f7eb843b7c259d.zip
Fix for #1909
Diffstat (limited to 'test/files/pos/bug1909b.scala')
-rw-r--r--test/files/pos/bug1909b.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/bug1909b.scala b/test/files/pos/bug1909b.scala
new file mode 100644
index 0000000000..b914bee366
--- /dev/null
+++ b/test/files/pos/bug1909b.scala
@@ -0,0 +1,6 @@
+class Ticket1909 (x: Int) {
+ def this() = this({
+ def bar() = 5
+ bar
+ })
+} \ No newline at end of file