[Issue 4533] Ban public aliases to private symbols
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jul 29 16:04:30 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4533
Nick Sabalausky <cbkbbejeap at mailinator.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cbkbbejeap at mailinator.com
--- Comment #1 from Nick Sabalausky <cbkbbejeap at mailinator.com> 2010-07-29 16:04:27 PDT ---
The opinion of the "should be allowed" side is that there are real cases where
it's useful. Another option would be to allow it, but only for cases where it
wouldn't affect code generation.
In any case, the behavior of the compiler does need to be changed because it's
currently disallowed but without a clear error message on the line where
programmer tries create the alias.
For reference, the newsgroup discussion is here:
http://www.mail-archive.com/digitalmars-d@puremagic.com/msg34092.html
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list