aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/tasty
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-03-26 12:57:28 +0200
committerMartin Odersky <odersky@gmail.com>2017-04-11 09:33:10 +0200
commit47158c9ae592bab53b9618b90b2514166a8a6004 (patch)
tree993c21bcf91ddfe2b491e1f85131f2e05ce88ab5 /compiler/src/dotty/tools/dotc/core/tasty
parent2ab37596efc9cd19081ee009fc97d46cf6c35896 (diff)
downloaddotty-47158c9ae592bab53b9618b90b2514166a8a6004.tar.gz
dotty-47158c9ae592bab53b9618b90b2514166a8a6004.tar.bz2
dotty-47158c9ae592bab53b9618b90b2514166a8a6004.zip
Properly integrate TraitSetter names
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/tasty')
-rw-r--r--compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala2
1 files changed, 1 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 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 {