http://d.puremagic.com/issues/show_bug.cgi?id=5905
Summary: Error message with const fixed-size array Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: diagnostic Severity: minor Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2011-04-28 15:14:07 PDT --- D2 code: void main() { const float[1] a; const(float[1]) b; const(float)[1] c; } DMD 2.052 shows the compile error messages: test.d(2): Error: slice a[] is not mutable test.d(3): Error: slice b[] is not mutable test.d(4): Error: slice c[] is not mutable I think such error messages are not clear enough. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------