org.ensime.util.map
Map.mapValues is notoriously inconsistent and returns a View rather than a solid implementation, this is what you thought it did.