[Issue 191] Cannot refer to member variable in default value for method parameter
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jun 23 14:43:11 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=191
bugzilla at digitalmars.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
------- Comment #1 from bugzilla at digitalmars.com 2008-06-23 16:43 -------
This isn't a bug, it is the way it is designed to work.
The example will work, however, if you add 'const' to the declaration of x.
--
More information about the Digitalmars-d-bugs
mailing list