[Issue 9992] Default argument from member variable
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 21 08:31:02 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=9992
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs at eml.cc
--- Comment #2 from bearophile_hugs at eml.cc 2013-11-21 08:31:01 PST ---
(In reply to comment #1)
> Default arguments are evaluated at the call site... so I don't think this is
> necessarily wrong.
I think the compiler should give errors for wrong code, even if the function is
not yet called.
--
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