summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/cmd/package.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-07-27 05:46:12 -0700
committerPaul Phillips <paulp@improving.org>2012-07-27 05:48:09 -0700
commitf15dc74394c225cb6c323e96f107deb6ad0e9645 (patch)
tree6195b7599a1a26abb0fc500548b1c09da306845b /src/compiler/scala/tools/cmd/package.scala
parenta4bb3b679add3fec8c19f07cc717177c52f3dd92 (diff)
downloadscala-f15dc74394c225cb6c323e96f107deb6ad0e9645.tar.gz
scala-f15dc74394c225cb6c323e96f107deb6ad0e9645.tar.bz2
scala-f15dc74394c225cb6c323e96f107deb6ad0e9645.zip
Eliminated all the current feature warnings.
This pretty much takes us down to deprecation and inliner warnings.
Diffstat (limited to 'src/compiler/scala/tools/cmd/package.scala')
-rw-r--r--src/compiler/scala/tools/cmd/package.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/cmd/package.scala b/src/compiler/scala/tools/cmd/package.scala
index 5786b00fd1..8e74e6169e 100644
--- a/src/compiler/scala/tools/cmd/package.scala
+++ b/src/compiler/scala/tools/cmd/package.scala
@@ -8,6 +8,10 @@ package scala.tools
package object cmd {
def returning[T](x: T)(f: T => Unit): T = { f(x) ; x }
+ // make some language features in this package compile without warning
+ implicit def implicitConversions = language.implicitConversions
+ implicit def postfixOps = language.postfixOps
+
private[cmd] def debug(msg: String) = println(msg)
def runAndExit(body: => Unit): Nothing = {