File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/scala/scala/async/internal Expand file tree Collapse file tree 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 {
1212 lazy val futureSystem = IdentityFutureSystem
1313 type FS = IdentityFutureSystem .type
1414
15- def async [T ](body : => T ) = macro asyncIdImpl[T ]
15+ def async [T ](body : => T ): T = macro asyncIdImpl[T ]
1616
1717 def asyncIdImpl [T : c.WeakTypeTag ](c : Context )(body : c.Expr [T ]): c.Expr [T ] = asyncImpl[T ](c)(body)(c.literalUnit)
1818}
@@ -21,7 +21,7 @@ object AsyncTestLV extends AsyncBase {
2121 lazy val futureSystem = IdentityFutureSystem
2222 type FS = IdentityFutureSystem .type
2323
24- def async [T ](body : T ) = macro asyncIdImpl[T ]
24+ def async [T ](body : T ): T = macro asyncIdImpl[T ]
2525
2626 def asyncIdImpl [T : c.WeakTypeTag ](c : Context )(body : c.Expr [T ]): c.Expr [T ] = asyncImpl[T ](c)(body)(c.literalUnit)
2727
You can’t perform that action at this time.
0 commit comments