Commits

Chris Lattner committed c81cf861811
implement <rdar://problem/19707366> QoI: @autoclosure declaration change fixit Before we would produce (with no fixit): a.swift:1:13: error: attribute can only be applied to declarations, not types let step : @autoclosure() -> () ^ now we produce (with a fixit): a.swift:1:13: error: 'autoclosure' attribute is now an attribute of the parameter declaration, not its type let step : @autoclosure() -> () ~^~~~~~~~~~~ @autoclosure This also generates the same handles other declattributes incorrectly applied to types. Swift SVN r24946