610
612
else if (c.tag == FloatTag) writeLong(floatToIntBits(c.floatValue))
611
613
else if (c.tag == DoubleTag) writeLong(doubleToLongBits(c.doubleValue))
612
614
else if (c.tag == StringTag) writeRef(newTermName(c.stringValue))
614
616
else if (c.tag == EnumTag) writeRef(c.symbolValue)
615
617
LITERAL + c.tag // also treats UnitTag, NullTag; no value required
616
618
case AnnotatedType(annotations, tp, selfsym) =>
628
628
// annotations attached to a symbol (i.e. annots on terms)
629
629
case (target: Symbol, annot@AnnotationInfo(_, _, _)) =>