Summary: Wrong line number in trying to modify enum string
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-06-01 13:21:09 PDT ---
struct Foo {
    enum string s = "first";
void main() {
    Foo.s = "second";

dmd 2.060alpha gives a wrong line number of the error:

test.d(2): Error: Cannot modify '"first"'

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to