type in scala 2.2 dep