Skip to content

Commit 1fe8742

Browse files
szeigerretronym
authored andcommitted
Move to scala.async.Async for compatibility with existing macros
1 parent 996ea3b commit 1fe8742

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

library/src/scala/Async.scala renamed to library/src/scala/async/Async.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
* additional information regarding copyright ownership.
1111
*/
1212

13-
package scala
13+
package scala.async
1414

15-
import scala.language.experimental.macros
16-
import scala.concurrent.{Future, ExecutionContext}
1715
import scala.annotation.compileTimeOnly
16+
import scala.concurrent.{ExecutionContext, Future}
17+
import scala.language.experimental.macros
1818

1919
/**
2020
* Async blocks provide a direct means to work with [[scala.concurrent.Future]].
@@ -45,7 +45,7 @@ import scala.annotation.compileTimeOnly
4545
* }
4646
* }}}
4747
*/
48-
object async {
48+
object Async {
4949
/**
5050
* Run the block of code `body` asynchronously. `body` may contain calls to `await` when the results of
5151
* a `Future` are needed; this is translated into non-blocking code.

0 commit comments

Comments
 (0)