summaryrefslogtreecommitdiff
path: root/test/files/neg/bug1909b.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/bug1909b.scala')
-rw-r--r--test/files/neg/bug1909b.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/files/neg/bug1909b.scala b/test/files/neg/bug1909b.scala
index b914bee366..6aa7870478 100644
--- a/test/files/neg/bug1909b.scala
+++ b/test/files/neg/bug1909b.scala
@@ -1,6 +1,7 @@
class Ticket1909 (x: Int) {
+ var z = 12
def this() = this({
- def bar() = 5
+ def bar() = this.z + 5
bar
})
} \ No newline at end of file