summaryrefslogtreecommitdiff
path: root/test/files/neg/overloaded-implicit.flags
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-11-14 15:39:09 -0800
committerPaul Phillips <paulp@improving.org>2012-11-16 15:15:16 -0800
commit7936ce55315c40886fad508df8e56f78a8efea8f (patch)
tree18792a80327e7b33f24d184874deed0341283546 /test/files/neg/overloaded-implicit.flags
parent6645fec23ab3ee7d12f5cfc7c474a42f0eb7ec15 (diff)
downloadscala-7936ce55315c40886fad508df8e56f78a8efea8f.tar.gz
scala-7936ce55315c40886fad508df8e56f78a8efea8f.tar.bz2
scala-7936ce55315c40886fad508df8e56f78a8efea8f.zip
Added -Xdev setting... you know, for devs
A setting we developers can give all the time and expect to hear useful things without being buried in debugging output. As the comment says: This is for WARNINGS which should reach the ears of scala developers whenever they occur, but are not useful for normal users. They should be precise, explanatory, and infrequent. Please don't use this as a logging mechanism. !!! is prefixed to all messages issued via this route to make them visually distinct. This is what I always intended for "debugwarn", the method I have deprecated in favor of the more accurate: def devWarning(msg: => String): Unit In this VERY SAME COMMIT, I performed the CLOSELY RELATED task of quieting down an -Xlint warning which had become too noisy thanks to implicit classes tickling it. I tightened that warn condition to include both -Xlint and -Xdev.
Diffstat (limited to 'test/files/neg/overloaded-implicit.flags')
-rw-r--r--test/files/neg/overloaded-implicit.flags2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/overloaded-implicit.flags b/test/files/neg/overloaded-implicit.flags
index 7949c2afa2..9c1e74e4ef 100644
--- a/test/files/neg/overloaded-implicit.flags
+++ b/test/files/neg/overloaded-implicit.flags
@@ -1 +1 @@
--Xlint -Xfatal-warnings
+-Xlint -Xfatal-warnings -Xdev