summaryrefslogtreecommitdiff
path: root/src/reflect/scala/reflect/macros/Enclosures.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2014-02-06 19:01:49 +0100
committerEugene Burmako <xeno.by@gmail.com>2014-02-15 09:23:57 +0100
commit24780095d14938e60e28c710c47ed69629b7afc7 (patch)
tree7be93fa0110afd06c76a158a378d098d39908399 /src/reflect/scala/reflect/macros/Enclosures.scala
parentfa8f4022754356859f3af1c4ffbac02ab3dc3e7c (diff)
downloadscala-24780095d14938e60e28c710c47ed69629b7afc7.tar.gz
scala-24780095d14938e60e28c710c47ed69629b7afc7.tar.bz2
scala-24780095d14938e60e28c710c47ed69629b7afc7.zip
addresses pull request feedback
Diffstat (limited to 'src/reflect/scala/reflect/macros/Enclosures.scala')
-rw-r--r--src/reflect/scala/reflect/macros/Enclosures.scala7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/reflect/scala/reflect/macros/Enclosures.scala b/src/reflect/scala/reflect/macros/Enclosures.scala
index 7c186139cf..69ede42cc7 100644
--- a/src/reflect/scala/reflect/macros/Enclosures.scala
+++ b/src/reflect/scala/reflect/macros/Enclosures.scala
@@ -20,7 +20,7 @@ import scala.language.existentials // SI-6541
* This is somewhat aligned with the overall evolution of macros during the 2.11 development cycle, where we played with
* `c.introduceTopLevel` and `c.introduceMember`, but at the end of the day decided to reject them.
*
- * If you're relying on the now deprecated APIs, consider using the new [[c.enclosingOwner]] method that can be used to obtain
+ * If you're relying on the now deprecated APIs, consider using the new [[c.internal.enclosingOwner]] method that can be used to obtain
* the names of enclosing definitions. Alternatively try reformulating your macros in terms of completely local expansion
* and/or joining a discussion of a somewhat related potential language feature at [[https://groups.google.com/forum/#!topic/scala-debate/f4CLmYShX6Q]].
* We also welcome questions and suggestions on our mailing lists, where we would be happy to further discuss this matter.
@@ -52,11 +52,6 @@ trait Enclosures {
*/
def enclosingPosition: Position
- /** Symbol associated with the innermost enclosing lexical context.
- * Walking the owner chain of this symbol will reveal information about more and more enclosing contexts.
- */
- def enclosingOwner: Symbol
-
/** Tree that corresponds to the enclosing method, or EmptyTree if not applicable.
* @see [[scala.reflect.macros.Enclosures]]
*/