summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/reflect/ToolBox.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/reflect/ToolBox.scala b/src/compiler/scala/tools/reflect/ToolBox.scala
index 8b0dd66ac2..2a3851ba85 100644
--- a/src/compiler/scala/tools/reflect/ToolBox.scala
+++ b/src/compiler/scala/tools/reflect/ToolBox.scala
@@ -107,8 +107,7 @@ trait ToolBox[U <: scala.reflect.api.Universe] {
* For a ClassDef, a ClassSymbol is returned, and for a ModuleDef, a ModuleSymbol is returned (not a module class, but a module itself).
*
* This method can be used to generate definitions that will later be re-used by subsequent calls to
- * `compile`, `define` or `eval`. To refer to the generated definition, use the resulting symbol
- * by wrapping it into an `Ident`.
+ * `compile`, `define` or `eval`. To refer to the generated definition in a tree, use q"$sym".
*/
def define(tree: u.ImplDef): u.Symbol