summaryrefslogtreecommitdiff
path: root/test/files/neg/eta-expand-star-deprecation.check
diff options
context:
space:
mode:
authorJames Iry <jamesiry@gmail.com>2013-03-01 13:17:00 -0800
committerJames Iry <jamesiry@gmail.com>2013-03-01 13:17:00 -0800
commit3b071358a99ea3f90fb08a5a6b0b36c608b06931 (patch)
tree27d07a5128eaa35f9edf24a9830f53042aaff422 /test/files/neg/eta-expand-star-deprecation.check
parentdaa9c4114f3698833bfc06f5822bbfaa93b8fbf9 (diff)
downloadscala-3b071358a99ea3f90fb08a5a6b0b36c608b06931.tar.gz
scala-3b071358a99ea3f90fb08a5a6b0b36c608b06931.tar.bz2
scala-3b071358a99ea3f90fb08a5a6b0b36c608b06931.zip
SI-6816 Deprecate -Yeta-expand-keeps-star
This commit deprecates the -Yeta-expand-keeps-star flag. It was created in 2.10 to help in the transition from 2.9 but by the time 2.11 comes out it should no longer be necessary.
Diffstat (limited to 'test/files/neg/eta-expand-star-deprecation.check')
-rw-r--r--test/files/neg/eta-expand-star-deprecation.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/eta-expand-star-deprecation.check b/test/files/neg/eta-expand-star-deprecation.check
new file mode 100644
index 0000000000..a79f0df76c
--- /dev/null
+++ b/test/files/neg/eta-expand-star-deprecation.check
@@ -0,0 +1,4 @@
+warning: -Yeta-expand-keeps-star is deprecated: This flag is scheduled for removal in 2.12. If you have a case where you need this flag then please report a bug.
+error: No warnings can be incurred under -Xfatal-warnings.
+one warning found
+one error found