From d6b71cecda5802ffc4701f87b43929c4e3fc4127 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Mon, 1 Nov 2010 17:43:23 +0000 Subject: Removed a disappointly small amount of code ass... Removed a disappointly small amount of code associated with the obsolete namePos. No review. --- src/attic/scala/tools/nsc/models/SemanticTokens.scala | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/attic') diff --git a/src/attic/scala/tools/nsc/models/SemanticTokens.scala b/src/attic/scala/tools/nsc/models/SemanticTokens.scala index 5b492ba056..ab75bbbcfc 100644 --- a/src/attic/scala/tools/nsc/models/SemanticTokens.scala +++ b/src/attic/scala/tools/nsc/models/SemanticTokens.scala @@ -406,17 +406,6 @@ class SemanticTokens(val compiler: Global) { doLog = false; } }; -/* - Martin to Sean: I don't understand why AbsTypeDef is different from AliasTypeDef. - Why is the order reversed? Why two buildDefs for tree.symbol vs one for AliasTypeDef? - case tree: AbsTypeDef => - //Console.err.println("ABS: " + tree.symbol + " " + unit.source.dbg(tree.namePos) + " " + tree.pos.dbgString); - buildDef(tree.symbol, tree.namePos) - buildDef(tree.symbol, tree.pos.pointOrElse(-1)) - build(tree.tparams); //@M - build(tree.lo) - build(tree.hi) -*/ case tree: Bind => buildDef(tree.symbol, tree.pos.pointOrElse(-1)) build(tree.body) -- cgit v1.2.3