The following Swift code compiles:
enum GraphDataSource { case array(data: [Double], start: Double?, step: Double?) case pairs(XYValues: [Double: Do
This is a Swift compiler bug. See SR-10077.