Skip to content

Conversation

@moiseev
Copy link
Contributor

@moiseev moiseev commented Apr 15, 2017

No description provided.


@_transparent
public mutating func add(_ other: CGFloat) {
native.add(other.native)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a source-compatible change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically not, but these methods were there only to implement operators on the protocol, which is no longer required. In any case these missing methods can now be added for source compatibility in the protocol. Thanks for looking at this!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the missing methods here: swiftlang/swift@192c112

@moiseev moiseev changed the title [NOT FOR MERGE yet] Upgrading to the new integer protocols Upgrading to the new integer protocols Apr 17, 2017
@moiseev
Copy link
Contributor Author

moiseev commented Apr 17, 2017

@parkera I've just merged the new integers into master. Is it OK for me to merge this one?

@slavapestov
Copy link
Contributor

This is blocking PR testing on Linux so I'm going to merge it.

@slavapestov slavapestov merged commit ec07107 into swiftlang:master Apr 18, 2017
@moiseev moiseev deleted the new-integer-protocols branch April 18, 2017 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants