提交 e1f34eae 编写于 作者: 梦境迷离's avatar 梦境迷离

change comment

上级 e7373604
......@@ -57,6 +57,7 @@ object logMacro extends MacroCommon {
q"$mods object $tpname extends { ..$earlydefns } with ..$parents { $self => ..${List(logTree) ::: stats.toList} }"
// Note: If a class is annotated and it has a companion, then both are passed into the macro.
// (But not vice versa - if an object is annotated and it has a companion class, only the object itself is expanded).
// see https://docs.scala-lang.org/overviews/macros/annotations.html
}
printTree(c)(force = args._1, resTree)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册