summaryrefslogtreecommitdiff
path: root/src/attic
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-11-01 17:43:23 +0000
committerPaul Phillips <paulp@improving.org>2010-11-01 17:43:23 +0000
commitd6b71cecda5802ffc4701f87b43929c4e3fc4127 (patch)
treed9270df6ccf852e40791477280de51e861ade060 /src/attic
parent9b54520a8c5a4f130a1fabbb0d0e7a3ec9022f41 (diff)
downloadscala-d6b71cecda5802ffc4701f87b43929c4e3fc4127.tar.gz
scala-d6b71cecda5802ffc4701f87b43929c4e3fc4127.tar.bz2
scala-d6b71cecda5802ffc4701f87b43929c4e3fc4127.zip
Removed a disappointly small amount of code ass...
Removed a disappointly small amount of code associated with the obsolete namePos. No review.
Diffstat (limited to 'src/attic')
-rw-r--r--src/attic/scala/tools/nsc/models/SemanticTokens.scala11
1 files changed, 0 insertions, 11 deletions
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)