Replacing deprecated <:< Manifest type witness in Scala 2.10

Posted by Josh on Stack Overflow See other posts from Stack Overflow or by Josh
Published on 2012-12-11T19:46:15Z Indexed on 2012/12/11 23:03 UTC
Read the original article Hit count: 246

Filed under:
|
|

Can someone point me at what I should be doing under scala 2.10 in place of this deprecated type witness on Manifest?

reflect.ClassManifest.singleType(foo) <:< barManifest

Honestly, my goal here is just to replace it with something that doesn't raise a deprecation warning. I'm happy to use the new reflection API.

Here's the code in question in context, if that's important:

https://github.com/azavea/geotrellis/blob/master/src/main/scala/geotrellis/feature/op/geometry/geometry.scala#L45

© Stack Overflow or respective owner

Related posts about scala

Related posts about reflection