We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 359acfd commit b903106Copy full SHA for b903106
compiler/src/dotty/tools/dotc/core/Contexts.scala
@@ -306,13 +306,14 @@ object Contexts {
306
sb.append(str)
307
}
308
309
- /** The next outer context whose tree is a template or package definition */
+ /** The next outer context whose tree is a template or package definition
310
+ * Note: Currently unused
311
def enclTemplate: Context = {
312
var c = this
313
while (c != NoContext && !c.tree.isInstanceOf[Template[_]] && !c.tree.isInstanceOf[PackageDef[_]])
314
c = c.outer
315
c
- }
316
+ }*/
317
318
/** The context for a supercall. This context is used for elaborating
319
* the parents of a class and their arguments.
0 commit comments