We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8ccae0 commit ec43901Copy full SHA for ec43901
_overviews/reflection/symbols-trees-types.md
@@ -707,7 +707,7 @@ there’s already a `parse` method built into the macro context. For example:
707
scala> def impl(c: scala.reflect.macros.Context) = c.Expr[Unit](c.parse("println(2)"))
708
impl: (c: scala.reflect.macros.Context)c.Expr[Unit]
709
710
- scala> def test = macro impl
+ scala> def test: Unit = macro impl
711
test: Unit
712
713
scala> test
0 commit comments