aboutsummaryrefslogtreecommitdiff
path: root/tests/run/i744.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-07-28 16:00:53 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-07-28 18:23:29 +0200
commit7cfa2e1e0ac3703161e33227d5729ddd81983f99 (patch)
tree98346df4c18b223f32377e6bff52da2b13e41ef8 /tests/run/i744.scala
parente147fbe1bb2ceeeb464028cd2c92238ad57a3ae1 (diff)
downloaddotty-7cfa2e1e0ac3703161e33227d5729ddd81983f99.tar.gz
dotty-7cfa2e1e0ac3703161e33227d5729ddd81983f99.tar.bz2
dotty-7cfa2e1e0ac3703161e33227d5729ddd81983f99.zip
Fix #744
Mixi was not calling transformFollowing on generated setters.
Diffstat (limited to 'tests/run/i744.scala')
-rw-r--r--tests/run/i744.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/run/i744.scala b/tests/run/i744.scala
new file mode 100644
index 000000000..4ff6c9288
--- /dev/null
+++ b/tests/run/i744.scala
@@ -0,0 +1,8 @@
+trait A{
+ private var s = 1
+ def getS = s
+}
+
+object Test extends A {
+ def main(args: Array[String]): Unit = println(getS)
+}