Historical feature requests. Please create new feature requests at https://github.com/lampepfl/dotty/discussions/new?category=feature-requests
31
stars
2
forks
source link
Get runtime JVM class name out of TypeRepr #236
Closed
scf37 closed 1 year ago
TypeRepr.classSymbol.fullName
does not always represent runtime class name as seen here https://github.com/lampepfl/dotty/issues/13321Doing
Class.forName(classSymbol.fullName.replace(".$", "$"))
works but is fragile.