aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-03-27 18:23:07 +0200
committerMartin Odersky <odersky@gmail.com>2017-04-11 09:33:11 +0200
commit21ab9a1355036aa953db4e1f87c8f0f9a06506b5 (patch)
tree3824573b541226f7e90609e7163383b471838667 /compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala
parent0efd6b93cf45be4cb211093185fef2923f53ef67 (diff)
downloaddotty-21ab9a1355036aa953db4e1f87c8f0f9a06506b5.tar.gz
dotty-21ab9a1355036aa953db4e1f87c8f0f9a06506b5.tar.bz2
dotty-21ab9a1355036aa953db4e1f87c8f0f9a06506b5.zip
Get rid of ExpandedName flag
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala b/compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala
index 2da638291..e697ff028 100644
--- a/compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala
+++ b/compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala
@@ -13,6 +13,7 @@ import NameOps._, NameExtractors._
import StdNames.nme
import TastyBuffer._
import TypeApplications._
+import transform.SymUtils._
import config.Config
class TreePickler(pickler: TastyPickler) {
@@ -141,7 +142,7 @@ class TreePickler(pickler: TastyPickler) {
withLength { pickleType(tycon); args.foreach(pickleType(_)) }
case ConstantType(value) =>
pickleConstant(value)
- case tpe: TypeRef if tpe.info.isAlias && tpe.symbol.is(Flags.AliasPreferred) =>
+ case tpe: TypeRef if tpe.info.isAlias && tpe.symbol.isAliasPreferred =>
pickleType(tpe.superType)
case tpe: WithFixedSym =>
val sym = tpe.symbol