summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-05-03 10:10:39 -0700
committerPaul Phillips <paulp@improving.org>2012-05-03 10:53:03 -0700
commit0cb886ae44505334dd5e8408b9355a53bc00e578 (patch)
tree41e66ce4b4265cf4a53e5774236d9248afcdf5dd /src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
parentca74659bb06611b87474ffe2fd17b131cd3d34b0 (diff)
downloadscala-0cb886ae44505334dd5e8408b9355a53bc00e578.tar.gz
scala-0cb886ae44505334dd5e8408b9355a53bc00e578.tar.bz2
scala-0cb886ae44505334dd5e8408b9355a53bc00e578.zip
Removed BackquotedIdent.
In favor of a marker attachment using Attachment, as suggested in comments. (The Attachment interface needs work.) I did this bit trying to fix SI-5715, but it's still a bit elusive because the Ident node is thrown away as soon as there's a member definition. Also, as far as I can see this will if anything propagate the backquotedness of an identifier less effectively than before, because TreeCopiers don't copy attachments. Maybe that's on the "todo" list? The whole idea seems to depend on their being propagated to copies.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/RefChecks.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/RefChecks.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala b/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
index 917542aa76..e60cda6af7 100644
--- a/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
@@ -1458,6 +1458,7 @@ abstract class RefChecks extends InfoTransform with reflect.internal.transform.R
analyzer.ImplicitNotFoundMsg.check(sym) foreach { warn =>
unit.warning(tree.pos, "Invalid implicitNotFound message for %s%s:\n%s".format(sym, sym.locationString, warn))
}
+
case tpt@TypeTree() =>
if(tpt.original != null) {
tpt.original foreach {