summaryrefslogtreecommitdiff
path: root/test/files/run/t4047.check
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@epfl.ch>2011-02-24 10:41:37 +0000
committerHubert Plociniczak <hubert.plociniczak@epfl.ch>2011-02-24 10:41:37 +0000
commitb0b63f1901668d0d2acd7de00dd26157f28751f3 (patch)
treea1ec44683918a7ea68f4db9c6a1c9ff1a323386b /test/files/run/t4047.check
parentdd45d81acf8b4e8961406b5b940e1dd70153c2a4 (diff)
downloadscala-b0b63f1901668d0d2acd7de00dd26157f28751f3.tar.gz
scala-b0b63f1901668d0d2acd7de00dd26157f28751f3.tar.bz2
scala-b0b63f1901668d0d2acd7de00dd26157f28751f3.zip
lazy val calls shouldn't be included in pure ex...
lazy val calls shouldn't be included in pure expressions in general. closes 4047. fixed also bug in optimizer (was eliminating a.foo call in the test). review by dragos
Diffstat (limited to 'test/files/run/t4047.check')
-rw-r--r--test/files/run/t4047.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/run/t4047.check b/test/files/run/t4047.check
new file mode 100644
index 0000000000..2a942a70e0
--- /dev/null
+++ b/test/files/run/t4047.check
@@ -0,0 +1,5 @@
+Unit: called A.foo
+Unit: called B.foo
+Unit: called C.foo
+Unit: called D.foo
+Unit: called D.foo