CANVE / extractor

Extracts and normalizes the type relationships and call graph of scala sbt projects.
4 stars 1 forks source link

Extract type bounds of any type parameter #20

Closed matanox closed 8 years ago

matanox commented 8 years ago

Seems rather elusive to obtain this information. On a very hasty try, something like this doesn't seem to hit anything when used over a type definition (Template)

tparam.info collect { case TypeBounds(low, high) =>
   println(s"type parameters $low, $high detected")
}