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

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:
------- You are receiving this mail because: -------

Reply via email to