Skip to content

Commit b903106

Browse files
committed
Comment out unused method in Context
1 parent 359acfd commit b903106

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

compiler/src/dotty/tools/dotc/core/Contexts.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,13 +306,14 @@ object Contexts {
306306
sb.append(str)
307307
}
308308

309-
/** The next outer context whose tree is a template or package definition */
309+
/** The next outer context whose tree is a template or package definition
310+
* Note: Currently unused
310311
def enclTemplate: Context = {
311312
var c = this
312313
while (c != NoContext && !c.tree.isInstanceOf[Template[_]] && !c.tree.isInstanceOf[PackageDef[_]])
313314
c = c.outer
314315
c
315-
}
316+
}*/
316317

317318
/** The context for a supercall. This context is used for elaborating
318319
* the parents of a class and their arguments.

0 commit comments

Comments
 (0)