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

--- Comment #0 from Jonathan M Davis <> 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:
------- You are receiving this mail because: -------

Reply via email to