I hated AI assisted development for a long time.
...
Before (3.7): A synthetic tuple-producing map was inserted; that step could make Map select a generic map overload and become an Iterable (e.g. List) In 3.8: That synthetic step is removed, so the conversion no longer happens and a different map/flatMap path can be selected.