From aac015a84c2d64ce485078a5a854bc7533e2fc7b Mon Sep 17 00:00:00 2001 From: Philipp Haller Date: Fri, 8 Nov 2013 15:59:04 +0100 Subject: SI-7958 Deprecate methods `future` and `promise` in the `scala.concurrent` package object - The corresponding `apply` methods in the `Future` and `Promise` objects should be used instead. - Adjusted tests to use non-deprecated versions - Fixed doc comments not to use deprecated methods - Added comment about planned removal in 2.13.0 --- test/files/run/t7805-repl-i.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files/run/t7805-repl-i.scala') diff --git a/test/files/run/t7805-repl-i.scala b/test/files/run/t7805-repl-i.scala index bb5203951e..208cb5da13 100644 --- a/test/files/run/t7805-repl-i.scala +++ b/test/files/run/t7805-repl-i.scala @@ -35,7 +35,7 @@ trait HangingRepl extends ReplTest { import ExecutionContext.Implicits._ import Resulting._ def timeout = 120 seconds - def hanging[A](a: =>A): A = future(a) resultWithin timeout + def hanging[A](a: =>A): A = Future(a) resultWithin timeout override def show() = Try(hanging(super.show())) recover { case e => e.printStackTrace() } -- cgit v1.2.3