SwiftUI.withAnimation(_:_:): first param has default value so why withAnimation(doIt) doesn't compile?

Your question is too specific. The problem arises with any function that has unlabeled parameters, with anything but the last one having a default.

It's a compiler bug. See if it's logged already, and if not, do it!

func ƒ(_: Int = 0, _: Bool) { }
ƒ(false)  // Missing argument for parameter #1 in call