Skip to content

[swiftSyntax] Make AbsolutePosition a value type #18706

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 14, 2018

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Aug 14, 2018

AbsolutePosition had value semantics anyway, the only reason it was a reference type was so that we can use it in AtomicCache. But that can be worked around by boxing it into a reference type.

AbsolutePosition had value semantics anyway, the only reason it was a
reference type was so that we can use it in AtomicCache. But that can be
worked around by boxing it into a reference type.
@ahoppen
Copy link
Member Author

ahoppen commented Aug 14, 2018

@swift-ci Please smoke test

Copy link
Contributor

@harlanhaskins harlanhaskins left a comment

Choose a reason for hiding this comment

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

I had considered doing this, but never did. Thanks!

@ahoppen ahoppen merged commit bc46175 into swiftlang:master Aug 14, 2018
@ahoppen ahoppen deleted the box-absolute-position branch August 14, 2018 21:11
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