milessabin / shapeless

Generic programming for Scala

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typeable.describe returns encoded name unlike LabelledGeneric

joroKr21 opened this issue · comments

scala> LabelledGeneric[List[Int]]
res0: shapeless.LabelledGeneric[List[Int]]{type Repr = scala.collection.immutable.::[Int] with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("::")],scala.collection.immutable.::[Int]] :+: scala.collection.immutable.Nil.type with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("Nil")],scala.collection.immutable.Nil.type] :+: shapeless.CNil} = shapeless.LabelledGeneric$$anon$2@1c43f37d

scala> Typeable[scala.::[Int]].describe
res1: String = $colon$colon[Int]

I believe the class name should be decoded.