My god the predictive code completion model in #Xcode is bad. It hallucinated a parameter to a parameterless function I just wrote.
On a class called Config I have
func transitions() -> [Transition] {
…
Then in another class I wrote:
let transitions =
And it autocompleted to
let transitions = config.transitions(for: config.countdown)
WTF Xcode. At least countdown is an actual property on Config, but WTF.