aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/Contexts.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-02-08 21:24:07 +1100
committerMartin Odersky <odersky@gmail.com>2017-04-04 13:28:44 +0200
commitb4ece2a235cc335d3afc58112652f6c98b25435f (patch)
treeb55c08001f7cfc7a232842d015373427eb934c93 /compiler/src/dotty/tools/dotc/core/Contexts.scala
parentc2790577d64b039792618c92e6ab7cff7a7ed824 (diff)
downloaddotty-b4ece2a235cc335d3afc58112652f6c98b25435f.tar.gz
dotty-b4ece2a235cc335d3afc58112652f6c98b25435f.tar.bz2
dotty-b4ece2a235cc335d3afc58112652f6c98b25435f.zip
Comment out unused method in Context
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/Contexts.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/core/Contexts.scala5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/Contexts.scala b/compiler/src/dotty/tools/dotc/core/Contexts.scala
index 6b7be12be..8707b66f9 100644
--- a/compiler/src/dotty/tools/dotc/core/Contexts.scala
+++ b/compiler/src/dotty/tools/dotc/core/Contexts.scala
@@ -306,13 +306,14 @@ object Contexts {
sb.append(str)
}
- /** The next outer context whose tree is a template or package definition */
+ /** The next outer context whose tree is a template or package definition
+ * Note: Currently unused
def enclTemplate: Context = {
var c = this
while (c != NoContext && !c.tree.isInstanceOf[Template[_]] && !c.tree.isInstanceOf[PackageDef[_]])
c = c.outer
c
- }
+ }*/
/** The context for a supercall. This context is used for elaborating
* the parents of a class and their arguments.