Skip to content

Commit

Permalink
Merge branch 'main' into patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] committed Jun 3, 2022
2 parents d5df0fd + c83c93e commit e180736
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ private[play] object TypedAkka {
tpe.getActualTypeArguments()(0).asInstanceOf[Class[T]]
}

private def typeLiteral[C[_], T](cls: Class[_])(implicit C: ClassTag[C[_]]) = {
private def typeLiteral[C[_], T](cls: Class[_])(implicit C: ClassTag[C[Any]]) = {
val parameterizedType = Types.newParameterizedType(C.runtimeClass, cls)
TypeLiteral.get(parameterizedType).asInstanceOf[TypeLiteral[C[T]]]
}
Expand Down

0 comments on commit e180736

Please sign in to comment.