Reputation: 14364
I'm debugging code similar to this (scala 2.11.8):
class Whatever extends Serializable {
def getParams[T: Manifest]() = doSomething()
}
When I try to add a watch variable with doSomething()
in IntelliJ, I get this error:
Error evaluating method : 'doSomething': Type mismatch Can't assign scala.reflect.ManifestFactory$ to scala.reflect.Manifest
Any idea on how to fix it?
Upvotes: 0
Views: 99