http://d.puremagic.com/issues/show_bug.cgi?id=3212

           Summary: Error message says "mutable"; should say "immutable"
           Product: D
           Version: 2.031
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: bugzi...@kyllingen.net


immutable int i;
  i = 123;

Compiling the above results in the error: "cannot modify mutable"

I suppose this should be "cannot modify immutable", and the problem lies at
line 143 of declaration.c:

  else if (isInvariant())

      p = "mutable";

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to