May 09, 2012 [Issue 5314] Wrong error message: struct within immutable member and postblit function | ||||
---|---|---|---|---|
| ||||
Posted in reply to Haruki Shigemori | http://d.puremagic.com/issues/show_bug.cgi?id=5314 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clugdbug@yahoo.com.au Severity|normal |critical --- Comment #10 from Don <clugdbug@yahoo.com.au> 2012-05-09 13:44:40 PDT --- (In reply to comment #9) > Reducing criticity to normal, as diagnostic bugs are not critical. They're equivalent to compiler segfaults. Worse than any rejects-valid bug. They're nearly always very easy to fix, too. There's no excuse for them. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 03, 2012 [Issue 5314] Wrong error message: struct within immutable member and postblit function | ||||
---|---|---|---|---|
| ||||
Posted in reply to Haruki Shigemori | http://d.puremagic.com/issues/show_bug.cgi?id=5314 Denis Shelomovskij <verylonglogin.reg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |verylonglogin.reg@gmail.com --- Comment #11 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2012-11-03 15:16:46 MSK --- Original example compiles fine now but is the issue fixed? Can somebody familiar with dmd internals check if "%s is not mutable" error message gives line now: https://github.com/D-Programming-Language/dmd/blob/master/src/expression.c Also example from comment #6 with uncommented `opAssign` new writes this: main.d(29): ------- main.d(31): ------- constructor: 6 main.d(33): ------- postblit: 7 main.d(35): ------- opAssign: 7 postblit: 7 <- added line main.d(37): ------- The line is added correctly and indicates a fixed compiler bug because Foo opAssign(const ref Foo other) returns by value so a temporary is created. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation