Skip to content
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

Make empty mutable struct distinct #25854

Merged
merged 1 commit into from
Feb 2, 2018
Merged

Make empty mutable struct distinct #25854

merged 1 commit into from
Feb 2, 2018

Conversation

Keno
Copy link
Member

@Keno Keno commented Feb 1, 2018

Fixes #17149

@JeffBezanson JeffBezanson added this to the 1.0 milestone Feb 1, 2018
@StefanKarpinski
Copy link
Member

Wow, that's a remarkably small patch.

@Keno Keno merged commit f7fe60b into master Feb 2, 2018
@martinholters martinholters deleted the kf/distinctmutable branch February 2, 2018 14:13
JeffBezanson added a commit that referenced this pull request Feb 2, 2018
JeffBezanson added a commit that referenced this pull request Feb 2, 2018
also a small doc clarification

[ci skip]
JeffBezanson added a commit that referenced this pull request Feb 2, 2018
also a small doc clarification

[ci skip]
ararslan pushed a commit that referenced this pull request Feb 2, 2018
WenjieZ added a commit to WenjieZ/julia that referenced this pull request Jan 17, 2020
Remove the paragraphs saying "Immutable composite types with no fields are singletons".

Previously, `MutableNoFields() === MutableNoFields()`, but this was changed in JuliaLang#25854. When that got changed, the existing docs was tweaked to say that the struct had to be immutable(JuliaLang#25862) . However, there is no longer anything specific about it having no fields. The docs about singletons can thus just be removed since they are not special anymore.
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