summaryrefslogtreecommitdiff
path: root/test/files/run/checked.flags
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2008-07-28 18:05:50 +0000
committerIulian Dragos <jaguarul@gmail.com>2008-07-28 18:05:50 +0000
commit90200957ca0beb4db24555a2563d0a902de0078d (patch)
tree77ad1d2465b247d5df397e7e744d5a2bff459801 /test/files/run/checked.flags
parent8bacd7cf469bd3097070e74e8bb72010403d21e6 (diff)
downloadscala-90200957ca0beb4db24555a2563d0a902de0078d.tar.gz
scala-90200957ca0beb4db24555a2563d0a902de0078d.tar.bz2
scala-90200957ca0beb4db24555a2563d0a902de0078d.zip
Added -Ycheckinit, which causes all getters to ...
Added -Ycheckinit, which causes all getters to check that fields are initialized before being used. It reuses the same machinery (and bitmaps) as lazy values. For now it requires the new initialization order (-Xexperimental) to work.
Diffstat (limited to 'test/files/run/checked.flags')
-rw-r--r--test/files/run/checked.flags1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/run/checked.flags b/test/files/run/checked.flags
new file mode 100644
index 0000000000..2182668259
--- /dev/null
+++ b/test/files/run/checked.flags
@@ -0,0 +1 @@
+-Xexperimental -Ycheckinit \ No newline at end of file