diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-07-07 10:48:11 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-07-07 10:48:11 +1000 |
commit | 2d8506a64392cd7192b6831c38798cc9a7c8bfed (patch) | |
tree | 84eafcf1a9a179eeaa97dd1e3595c18351b2b814 /src/test/scala/scala/async/run/toughtype/ToughType.scala | |
parent | c60c38ca6098402f7a9cc6d6746b664bb2b1306c (diff) | |
download | scala-async-2d8506a64392cd7192b6831c38798cc9a7c8bfed.tar.gz scala-async-2d8506a64392cd7192b6831c38798cc9a7c8bfed.tar.bz2 scala-async-2d8506a64392cd7192b6831c38798cc9a7c8bfed.zip |
Move implementation details to scala.async.internal._.
If we intend to keep CPS fallback around for any length of time
it should probably move there too.
Diffstat (limited to 'src/test/scala/scala/async/run/toughtype/ToughType.scala')
-rw-r--r-- | src/test/scala/scala/async/run/toughtype/ToughType.scala | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/scala/scala/async/run/toughtype/ToughType.scala b/src/test/scala/scala/async/run/toughtype/ToughType.scala index 2737132..ec2278f 100644 --- a/src/test/scala/scala/async/run/toughtype/ToughType.scala +++ b/src/test/scala/scala/async/run/toughtype/ToughType.scala @@ -13,6 +13,7 @@ import scala.async.Async._ import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.JUnit4 +import scala.async.internal.AsyncId object ToughTypeObject { @@ -97,7 +98,7 @@ class ToughTypeSpec { } @Test def singletonTypeIssue17() { - import scala.async.AsyncId.{async, await} + import AsyncId.{async, await} class A { class B } async { val a = new A @@ -107,7 +108,7 @@ class ToughTypeSpec { } @Test def existentialMatch() { - import scala.async.AsyncId.{async, await} + import AsyncId.{async, await} trait Container[+A] case class ContainerImpl[A](value: A) extends Container[A] def foo: Container[_] = async { @@ -123,7 +124,7 @@ class ToughTypeSpec { } @Test def existentialIfElse0() { - import scala.async.AsyncId.{async, await} + import AsyncId.{async, await} trait Container[+A] case class ContainerImpl[A](value: A) extends Container[A] def foo: Container[_] = async { |