Why converting Type to Symbol and back leads to lose of type information?
Code:
println(typeOf[String] <:< typeOf[String]) println(typeOf[String].typeSymbol.info <:< typeOf[String])
Output:
true false
Aucun commentaire:
Enregistrer un commentaire