digitalmars.D.bugs - [Issue 11505] New: Bad error message: "opAssign [...] is annotated with disable"
- d-bugmail puremagic.com (38/38) Nov 12 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11505
- d-bugmail puremagic.com (10/10) Nov 17 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11505
- d-bugmail puremagic.com (13/13) Nov 30 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11505
- d-bugmail puremagic.com (12/13) Nov 30 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11505
https://d.puremagic.com/issues/show_bug.cgi?id=11505 Summary: Bad error message: "opAssign [...] is annotated with disable" Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: diagnostic, rejects-valid Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: bugzilla kyllingen.net 11:10:07 PST --- Reduced test case: struct Foo { Bar b; unittest { Foo f; f = Foo(); } } struct Bar { ~this() safe { } struct Inner { } Inner* i; } As far as I can tell, the above is valid code, but when I run "dmd -c -unittest test.d", DMD spits out: test.d(7): Error: function test.Foo.opAssign is not callable because it is annotated with disable -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 12 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11505 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull https://github.com/D-Programming-Language/dmd/pull/2804 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 17 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11505 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a113001ef631df28109d444edc493cd4ac5842b8 fix Issue 11505 - Bad error message: "opAssign [...] is annotated with disable" https://github.com/D-Programming-Language/dmd/commit/58562d274cd81e581eef260d1be6bdea8ceeba15 [REG2.064] Issue 11505 - Bad error message: "opAssign [...] is annotated with disable" -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 30 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11505 Martin Nowak <code dawg.eu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |code dawg.eu Resolution| |FIXEDIf struct field has safe ~this(), enclosing struct should try to generate trusted opAssign to use void initializer.https://github.com/D-Programming-Language/dmd/pull/2804#issuecomment-29147573 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 30 2013