From 47158c9ae592bab53b9618b90b2514166a8a6004 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sun, 26 Mar 2017 12:57:28 +0200 Subject: Properly integrate TraitSetter names --- compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala') diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala b/compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala index 34ce40cb0..e73d6ed0d 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala @@ -62,7 +62,7 @@ class TreePickler(pickler: TastyPickler) { private def pickleName(sym: Symbol)(implicit ctx: Context): Unit = { val nameRef = if (Config.semanticNames) { - if (sym is Flags.ExpandedName) assert(sym.name.is(NameInfo.QualifiedKind)) + if (sym is Flags.ExpandedName) assert(sym.name.is(NameInfo.ExpandKind)) nameIndex(sym.name) } else { -- cgit v1.2.3