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

Issue 6259 - Regression(2.054 beta): Property getters returning ref const() cause setters to be hidden #241

Closed
wants to merge 1 commit into from

Conversation

yebblies
Copy link
Member

Do not match ref return properties when the returned value is not mutable.

http://d.puremagic.com/issues/show_bug.cgi?id=6259

…onst() cause setters to be hidden

Do not match ref return properties when the returned value is not mutable.
@9rnsr
Copy link
Contributor

9rnsr commented Jul 29, 2011

I have posted pull request #279, that fixes entire regressions around property getter/setter.

Please see it, yebblies, and close this request if you agree my patch.

@yebblies
Copy link
Member Author

Looks great to me. Any reason why most of property2.d is commented out?

@yebblies yebblies closed this Jul 29, 2011
@9rnsr
Copy link
Contributor

9rnsr commented Jul 29, 2011

Any reason why most of property2.d is commented out?
Not commented out.

//+  <- line comment
...
// +/  <- line comment

But it's confusing. I'll remove it.

braddr pushed a commit to braddr/dmd that referenced this pull request Sep 15, 2011
Add -w switch for building unittest in Windows
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.

2 participants