aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/pickling/TastyPrinter.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-02-24 16:55:37 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-03-18 11:14:10 +0100
commit5d09a0cea088a193f7e917cbc03187d5b6b7a795 (patch)
tree86a757ebe6951cba44e4de6eb00c16ab62e662b1 /src/dotty/tools/dotc/core/pickling/TastyPrinter.scala
parentaebc626de6fa762dcd30fd78d0cc2cf3e5a983d4 (diff)
downloaddotty-5d09a0cea088a193f7e917cbc03187d5b6b7a795.tar.gz
dotty-5d09a0cea088a193f7e917cbc03187d5b6b7a795.tar.bz2
dotty-5d09a0cea088a193f7e917cbc03187d5b6b7a795.zip
Have pkg intsead of static external references
Static does not tell us whether to start the search it in empty package or in root package.
Diffstat (limited to 'src/dotty/tools/dotc/core/pickling/TastyPrinter.scala')
-rw-r--r--src/dotty/tools/dotc/core/pickling/TastyPrinter.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/pickling/TastyPrinter.scala b/src/dotty/tools/dotc/core/pickling/TastyPrinter.scala
index cf531ecac..94d57e081 100644
--- a/src/dotty/tools/dotc/core/pickling/TastyPrinter.scala
+++ b/src/dotty/tools/dotc/core/pickling/TastyPrinter.scala
@@ -89,7 +89,7 @@ class TastyPrinter(bytes: Array[Byte])(implicit ctx: Context) {
}
else if (tag >= firstNatTreeTag)
tag match {
- case TERMREFstatic | TYPEREFstatic | STRINGconst => printName()
+ case TERMREFpkg | TYPEREFpkg | STRINGconst => printName()
case _ => printNat()
}
indent -= 2