summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-04-15 18:30:58 +0000
committerPaul Phillips <paulp@improving.org>2010-04-15 18:30:58 +0000
commit4fb3473182262b7cce33406ba7d0701e6622e3c3 (patch)
treeba2ce46bf92c86cf36095cb0c3b4da30c4d8a305 /test/files
parent348271c8b27af1c29f7705ea2853c934492ee327 (diff)
downloadscala-4fb3473182262b7cce33406ba7d0701e6622e3c3.tar.gz
scala-4fb3473182262b7cce33406ba7d0701e6622e3c3.tar.bz2
scala-4fb3473182262b7cce33406ba7d0701e6622e3c3.zip
Removed a bunch of -Y warning options.
back in the form of a compiler plugin. Also promoted -Yfatal-warnings to -Xfatal-warnings: this is key to writing tests which involve warnings and should be at least semi-supported. Closes #3300, no review.
Diffstat (limited to 'test/files')
-rw-r--r--test/files/neg/migration28.flags2
-rw-r--r--test/files/neg/t3115.flags2
-rw-r--r--test/files/pos/bug3097.flags2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/files/neg/migration28.flags b/test/files/neg/migration28.flags
index f7025d0226..197b3198c8 100644
--- a/test/files/neg/migration28.flags
+++ b/test/files/neg/migration28.flags
@@ -1 +1 @@
--Yfatal-warnings -Xmigration
+-Xfatal-warnings -Xmigration
diff --git a/test/files/neg/t3115.flags b/test/files/neg/t3115.flags
index bf8f88334b..d1b831ea87 100644
--- a/test/files/neg/t3115.flags
+++ b/test/files/neg/t3115.flags
@@ -1 +1 @@
--deprecation -Yfatal-warnings \ No newline at end of file
+-deprecation -Xfatal-warnings \ No newline at end of file
diff --git a/test/files/pos/bug3097.flags b/test/files/pos/bug3097.flags
index 570b15929d..144ddac9d3 100644
--- a/test/files/pos/bug3097.flags
+++ b/test/files/pos/bug3097.flags
@@ -1 +1 @@
--unchecked -Yfatal-warnings
+-unchecked -Xfatal-warnings