```scala scala> val a = "foo" val a: String = "foo" scala> val x: a.type = a val x: String(a) = "foo" ``` This should be `a.type`, not `String(a)`.