summaryrefslogtreecommitdiff
path: root/test/files/neg/t7605-deprecation.flags
diff options
context:
space:
mode:
authorSimon Ochsenreither <simon@ochsenreither.de>2013-09-08 16:38:52 +0200
committerSimon Ochsenreither <simon@ochsenreither.de>2013-10-24 00:52:01 +0200
commitbc475036c4cae5e9534ee3f9985e4e7a848e4b67 (patch)
tree8e8009cc5ead2bc6b320da8827753f30916b9cad /test/files/neg/t7605-deprecation.flags
parent951422163ab8fc47caa60acb66b670a371b5489e (diff)
downloadscala-bc475036c4cae5e9534ee3f9985e4e7a848e4b67.tar.gz
scala-bc475036c4cae5e9534ee3f9985e4e7a848e4b67.tar.bz2
scala-bc475036c4cae5e9534ee3f9985e4e7a848e4b67.zip
SI-7605 Deprecate procedure syntax
This commit covers three cases: - constructor definitions (def this {...}) - concrete method definitions (def foo {...}) - abstract method declarations (def foo) The deprecation is currently hidden behind -Xfuture pending IDE support for migrating users from procedures to methods.
Diffstat (limited to 'test/files/neg/t7605-deprecation.flags')
-rw-r--r--test/files/neg/t7605-deprecation.flags1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/neg/t7605-deprecation.flags b/test/files/neg/t7605-deprecation.flags
new file mode 100644
index 0000000000..0a7cb7d202
--- /dev/null
+++ b/test/files/neg/t7605-deprecation.flags
@@ -0,0 +1 @@
+-deprecation -Xfuture -Xfatal-warnings