diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2014-02-06 18:16:20 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2014-02-06 18:16:20 +0100 |
commit | 604707cbf5418ae2fd903e80da44e75f62ab690d (patch) | |
tree | c9cb5abc080358cafe03af1f009be9cf18792b4c /src/compiler/scala/tools/reflect | |
parent | 1d53b2ba45cba536c3369e7b8c300666c603d460 (diff) | |
download | scala-604707cbf5418ae2fd903e80da44e75f62ab690d.tar.gz scala-604707cbf5418ae2fd903e80da44e75f62ab690d.tar.bz2 scala-604707cbf5418ae2fd903e80da44e75f62ab690d.zip |
addresses pull request feedback
Diffstat (limited to 'src/compiler/scala/tools/reflect')
-rw-r--r-- | src/compiler/scala/tools/reflect/ToolBox.scala | 3 |
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 |