summaryrefslogtreecommitdiff
path: root/test/files/run/finalvar.flags
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.flags
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.flags')
-rw-r--r--test/files/run/finalvar.flags1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/run/finalvar.flags b/test/files/run/finalvar.flags
new file mode 100644
index 0000000000..aee3039bec
--- /dev/null
+++ b/test/files/run/finalvar.flags
@@ -0,0 +1 @@
+-Yoverride-vars -Yinline \ No newline at end of file