Permalink
Browse files

Always at least log devWarnings.

  • Loading branch information...
1 parent 8dc1bc7 commit 1bde987ee151d8898963ee503b1e6901226cabce @paulp paulp committed Mar 4, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/compiler/scala/tools/nsc/Global.scala
@@ -263,6 +263,8 @@ class Global(var currentSettings: Settings, var reporter: Reporter)
@inline final override def devWarning(msg: => String) {
if (settings.developer.value || settings.debug.value)
warning("!!! " + msg)
+ else
+ log("!!! " + msg) // such warnings always at least logged
}
private def elapsedMessage(msg: String, start: Long) =

0 comments on commit 1bde987

Please sign in to comment.