aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/scala/async/run/toughtype/ToughType.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/scala/async/run/toughtype/ToughType.scala')
-rw-r--r--src/test/scala/scala/async/run/toughtype/ToughType.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/scala/scala/async/run/toughtype/ToughType.scala b/src/test/scala/scala/async/run/toughtype/ToughType.scala
index 2bf912b..50c6300 100644
--- a/src/test/scala/scala/async/run/toughtype/ToughType.scala
+++ b/src/test/scala/scala/async/run/toughtype/ToughType.scala
@@ -21,8 +21,8 @@ object ToughTypeObject {
class Inner
def m2 = async[(List[_], ToughTypeObject.Inner)] {
- val y = await(future[List[_]](Nil))
- val z = await(future[Inner](new Inner))
+ val y = await(Future[List[_]](Nil))
+ val z = await(Future[Inner](new Inner))
(y, z)
}
}
@@ -86,11 +86,11 @@ class ToughTypeSpec {
def m3 = async {
val p: List[Option[_]] = conjure[List[Option[_]]]
- await(future(1))
+ await(Future(1))
}
def m4 = async {
- await(future[List[_]](Nil))
+ await(Future[List[_]](Nil))
}
}
@@ -153,7 +153,7 @@ class ToughTypeSpec {
// Turns out the behaviour stems from `thisMethodType` in `Namers`, which treats type parameter skolem symbols.
@Test def nestedMethodWithInconsistencyTreeAndInfoParamSymbols() {
import language.{reflectiveCalls, postfixOps}
- import scala.concurrent.{Future, ExecutionContext, future, Await}
+ import scala.concurrent.{Future, ExecutionContext, Await}
import scala.concurrent.duration._
import scala.async.Async.{async, await}
import scala.async.internal.AsyncId