diff options
author | Martin Odersky <odersky@gmail.com> | 2015-02-12 12:40:12 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-03-18 11:09:43 +0100 |
commit | 1026672008b031991b292893fd562fa1c11c0e3a (patch) | |
tree | 3ba8f5eb119e9eec623af1e8aeaa1068e7ac0485 /src/dotty/tools/dotc/core/pickling/TastyPrinter.scala | |
parent | 4f804782950d6efcd979df2dc60c2bcf9a04f115 (diff) | |
download | dotty-1026672008b031991b292893fd562fa1c11c0e3a.tar.gz dotty-1026672008b031991b292893fd562fa1c11c0e3a.tar.bz2 dotty-1026672008b031991b292893fd562fa1c11c0e3a.zip |
Changes to Tasty format:
1) IDENT nodes if types are not termrefs. (otherwise we lose information)
2) PRIVATEqualified and PROTECTDqualified always have a type argument
Also, Pickler guards against previously encountered errors:
- orphan parameters
- trying to pickle packages as internal symbols.
Plus some small polishings.
Diffstat (limited to 'src/dotty/tools/dotc/core/pickling/TastyPrinter.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/pickling/TastyPrinter.scala | 2 |
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 3e583beb0..58e2499b3 100644 --- a/src/dotty/tools/dotc/core/pickling/TastyPrinter.scala +++ b/src/dotty/tools/dotc/core/pickling/TastyPrinter.scala @@ -85,7 +85,7 @@ class TastyPrinter(bytes: Array[Byte])(implicit ctx: Context) { printTree() newLine() tag match { - case SELECT | TERMREF | TYPEREF => printName() + case IDENT | SELECT | TERMREF | TYPEREF => printName() case _ => printNat() } } |