http://d.puremagic.com/issues/show_bug.cgi?id=7432
Summary: dmd allows pure variables and treats pure like auto Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: jmdavisp...@gmx.com --- Comment #0 from Jonathan M Davis <jmdavisp...@gmx.com> 2012-02-03 14:58:27 PST --- This compiles: void main() { pure foo = "hello"; } It should be illegal. Variables can't be pure. Even worse, pure here is treated as if it were auto. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------