File tree 1 file changed +2
-2
lines changed
src/main/scala/scala/async/internal
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ object AsyncId extends AsyncBase {
12
12
lazy val futureSystem = IdentityFutureSystem
13
13
type FS = IdentityFutureSystem .type
14
14
15
- def async [T ](body : => T ) = macro asyncIdImpl[T ]
15
+ def async [T ](body : => T ): T = macro asyncIdImpl[T ]
16
16
17
17
def asyncIdImpl [T : c.WeakTypeTag ](c : Context )(body : c.Expr [T ]): c.Expr [T ] = asyncImpl[T ](c)(body)(c.literalUnit)
18
18
}
@@ -21,7 +21,7 @@ object AsyncTestLV extends AsyncBase {
21
21
lazy val futureSystem = IdentityFutureSystem
22
22
type FS = IdentityFutureSystem .type
23
23
24
- def async [T ](body : T ) = macro asyncIdImpl[T ]
24
+ def async [T ](body : T ): T = macro asyncIdImpl[T ]
25
25
26
26
def asyncIdImpl [T : c.WeakTypeTag ](c : Context )(body : c.Expr [T ]): c.Expr [T ] = asyncImpl[T ](c)(body)(c.literalUnit)
27
27
You can’t perform that action at this time.
0 commit comments