summaryrefslogtreecommitdiff
path: root/test/files/neg/t6162-inheritance.flags
diff options
context:
space:
mode:
authorSimon Ochsenreither <simon@ochsenreither.de>2012-07-31 01:02:07 +0200
committerJason Zaugg <jzaugg@gmail.com>2012-09-10 22:57:21 +0200
commite3b0c7abbf637dacce7bcd7b69d5655820e8e714 (patch)
tree392819cf24113b893c1622b5ecc80605bd34b3d6 /test/files/neg/t6162-inheritance.flags
parentadf2d3632b07eef4fc2303aef994e66584a73f49 (diff)
downloadscala-e3b0c7abbf637dacce7bcd7b69d5655820e8e714.tar.gz
scala-e3b0c7abbf637dacce7bcd7b69d5655820e8e714.tar.bz2
scala-e3b0c7abbf637dacce7bcd7b69d5655820e8e714.zip
SI-6162 Adds @deprecatedInheritance/@deprecatedOverriding
These annotations are meant to warn from inheriting a class or from overriding a member, due to the reasons given in `msg`. The naming and placement of the methods is in line with @deprecated and @deprecatedName.
Diffstat (limited to 'test/files/neg/t6162-inheritance.flags')
-rw-r--r--test/files/neg/t6162-inheritance.flags1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/neg/t6162-inheritance.flags b/test/files/neg/t6162-inheritance.flags
new file mode 100644
index 0000000000..65faf53579
--- /dev/null
+++ b/test/files/neg/t6162-inheritance.flags
@@ -0,0 +1 @@
+-Xfatal-warnings -deprecation \ No newline at end of file