summaryrefslogtreecommitdiff
path: root/test/files/run/finalvar.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-03-20 10:35:10 -0700
committerPaul Phillips <paulp@improving.org>2012-03-28 14:02:54 -0700
commit399bd6240f775583ee9709311bd0b02e8359c15c (patch)
tree9018bea9794eedd95aaf9f1c6ca5900a7b2f06fd /test/files/run/finalvar.check
parent97f03245d9646b9ade43418dee7dc0d2a6203ce7 (diff)
downloadscala-399bd6240f775583ee9709311bd0b02e8359c15c.tar.gz
scala-399bd6240f775583ee9709311bd0b02e8359c15c.tar.bz2
scala-399bd6240f775583ee9709311bd0b02e8359c15c.zip
Never write final fields outside of constructors.
Closes SI-3569, SI-3770. Also threw in experimental -Yoverride-vars. It's not robust.
Diffstat (limited to 'test/files/run/finalvar.check')
-rw-r--r--test/files/run/finalvar.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/finalvar.check b/test/files/run/finalvar.check
new file mode 100644
index 0000000000..2496293972
--- /dev/null
+++ b/test/files/run/finalvar.check
@@ -0,0 +1,6 @@
+(2,2,2,2,1)
+(2,2,2,2)
+(2,2,2,2,1001)
+(2,2,2,2)
+2
+10