[Issue 8845] Can't pass immediate or rvalue args to ref function parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 27 04:26:52 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=8845



--- Comment #11 from Manu <turkeyman at gmail.com> 2013-11-27 04:26:49 PST ---
(In reply to comment #9)
> (In reply to comment #7)
> 
> > AFAIK Walter agreed for final-by-default:
> > 
> > http://forum.dlang.org/thread/yzsqwejxqlnzryhrkfuq@forum.dlang.org?page=28#post-koqkhc:244nn:241:40digitalmars.com
> 
> Is that design decision written in some page of the D wiki?
> Do you need to add a "virtual" keyword to D?

Not sure. Don't think so. I think most of the conversation is in that thread
(and prior ones like it), and verbally at dconf... :/

Yes, a virtual keyword would be required. override would cause a warning at
first if used on a function that wasn't either override or virtual, and then it
would become an error. final would be used to seal a hierarchy, as is useful in
java, C++ and 'sealed' in C#.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list