Skip to content
This repository was archived by the owner on Aug 17, 2019. It is now read-only.

Commit fadd834

Browse files
committed
Remove unused typeclass
1 parent ec9e5d3 commit fadd834

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/main/scala/com/ckkloverdos/convert/package.scala

-7
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,6 @@ package object convert {
2626
@inline
2727
def erasureOf[T: Type]: Class[T] = typeOf[T].erasure.asInstanceOf[Class[T]]
2828

29-
private[convert]
30-
final class TypeWithErasure[T](tpe: Type[T]) {
31-
def erasure: Class[T] = erasureOf(tpe)
32-
}
33-
34-
implicit def enrichType[T: Type] = new TypeWithErasure(typeOf[T])
35-
3629
private[convert]
3730
def typeOfClass[T](clazz: Class[T]): Type[_ <: AnyRef] = {
3831
if(clazz.isArray) {

0 commit comments

Comments
 (0)