Changes to SetAlgebra or OptionSet in Swift 5?

Good spot @DevAndArtist that does indeed look like the cause of the inference failure. Why that is causing the inference failure in 5.0 but not 4.2 though I have no idea – but we do know that associated type inference is a little brittle and some issues were fixed.

@Jon_Hull do you think you could put this into a jira at bugs.swift.org?