Good find. This is how specialization works (or rather, a bug in Scala's specialization). I actually need to update the specialized hash table to fix this.