[Issue 7432] DMD allows variables to be declared as pure
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Feb 12 11:42:22 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7432
Stewart Gordon <smjg at iname.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
CC| |smjg at iname.com
Summary|dmd allows pure variables |DMD allows variables to be
|and treats pure like auto |declared as pure
--- Comment #1 from Stewart Gordon <smjg at iname.com> 2012-02-12 11:42:21 PST ---
It isn't pure that is treated as auto. What's treated as auto is the presence
of any attribute (to turn it from an ExpressionStatement into a
DeclarationStatement) combined with the absence of a type. But otherwise yes.
--
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