As reported in #29074, the map generator expects any value to implement Comparable as it puts them in a TreeMap so that the generated code is reproductible.

Most values are basic but TypeStringValue does not implement Comparable. We could fix that but that's probably a workaround of the underlying problem.

Comment From: snicoll

Actually we're handling this in a certain way for Set so it's about aligning for Map there.