-
-
Notifications
You must be signed in to change notification settings - Fork 609
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 7722 - Refuse normal functions to be used as properties #817
Conversation
|
Why the enhancement to allow a property function to have two arguments? This isn't in the bug report. Is there a discussion on it? |
|
With UFCS, a property setting |
Issue 7722 - Refuse normal functions to be used as properties
|
This gets a bus error compiling libphobos.a on OSX in 32 bit mode. ~/cbx/mars/dmd -I../druntime/import -w -d -property -m32 -O -release -nofloat - |
|
reverted for now. sigh. |
|
Uh, my fault. I'll try reverting the revert. |
|
Now it fails to build the library: std/conv.d(244): Error: template std.conv.toImpl(T,S) if (isImplicitlyConvertibl |
|
reverted the revert of the revert. |
|
Please, please wait too early reverting. And this pull requires Phobos master (yesterday, I have pushed some changes adding @Property attribute directly into Phobos repository). If you see the error in your local, was Phobos in git master? |
|
I've opened #830 as a dup of this pull. |
http://d.puremagic.com/issues/show_bug.cgi?id=7722
Enforce @Property syntax for UFCS by -property switch.