http://d.puremagic.com/issues/show_bug.cgi?id=8178
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 AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------