[Swift 2.2] [PrintAsObjC] Use @objc name for enums in enum references

This is a fix for a bug introduced as part of a Swift 2.2 feature (better @objc support on enums). I'd love to get it cherry-picked into Swift 2.2.

https://github.com/apple/swift/pull/1246

-Kevin Ballard

PR looks good and I’ve merged it. JoeP, can this get pulled into Swift 2.2?

  - Doug

···

On Feb 9, 2016, at 1:39 PM, Kevin Ballard via swift-dev <swift-dev@swift.org> wrote:

This is a fix for a bug introduced as part of a Swift 2.2 feature (better @objc support on enums). I'd love to get it cherry-picked into Swift 2.2.

[PrintAsObjC] Use @objc name for enums in enum references by lilyball · Pull Request #1246 · apple/swift · GitHub

Thanks, Kevin and Doug!

Approved, pending swift-ci passing.

- Joe

···

On Feb 9, 2016, at 1:42 PM, Douglas Gregor <dgregor@apple.com> wrote:

On Feb 9, 2016, at 1:39 PM, Kevin Ballard via swift-dev <swift-dev@swift.org> wrote:

This is a fix for a bug introduced as part of a Swift 2.2 feature (better @objc support on enums). I'd love to get it cherry-picked into Swift 2.2.

[PrintAsObjC] Use @objc name for enums in enum references by lilyball · Pull Request #1246 · apple/swift · GitHub

PR looks good and I’ve merged it. JoeP, can this get pulled into Swift 2.2?

  - Doug

Looks good, merged:

  [PrintAsObjC] Use @objc name for enums in enum references by DougGregor · Pull Request #1248 · apple/swift · GitHub

···

On Feb 9, 2016, at 1:44 PM, Joe Pamer <jpamer@apple.com> wrote:

Thanks, Kevin and Doug!

Approved, pending swift-ci passing.

- Joe

On Feb 9, 2016, at 1:42 PM, Douglas Gregor <dgregor@apple.com <mailto:dgregor@apple.com>> wrote:

On Feb 9, 2016, at 1:39 PM, Kevin Ballard via swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>> wrote:

This is a fix for a bug introduced as part of a Swift 2.2 feature (better @objc support on enums). I'd love to get it cherry-picked into Swift 2.2.

[PrintAsObjC] Use @objc name for enums in enum references by lilyball · Pull Request #1246 · apple/swift · GitHub

PR looks good and I’ve merged it. JoeP, can this get pulled into Swift 2.2?

  - Doug