digitalmars.D.bugs - [Issue 10337] New: Error: mutable method glwtf.input.SignalWrapper!().SignalWrapper.Signal!().~this
- d-bugmail puremagic.com (37/37) Jun 11 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10337
- d-bugmail puremagic.com (11/11) Jun 11 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10337
- d-bugmail puremagic.com (7/30) Jun 13 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10337
- d-bugmail puremagic.com (11/11) Jun 14 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10337
http://d.puremagic.com/issues/show_bug.cgi?id=10337 Summary: Error: mutable method glwtf.input.SignalWrapper!().SignalWrapper.Signal!().~ this Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: admin dav1d.de This code fails in DMD 2.063 (+ current git) with an Error in the glue layer, it worked under 2.063 module glwtf.input; import std.signals; struct DefaultAA(value_type, key_type, Default...) if(Default.length < 2) { value_type[key_type] _store; } struct SignalWrapper(Args...) { mixin Signal!(Args); } class BaseGLFWEventHandler { DefaultAA!(SignalWrapper!(), int) single_key_down; } Error: mutable method glwtf.input.SignalWrapper!().SignalWrapper.Signal!().~this is not callable using a const object dmd: glue.c:1215: virtual unsigned int Type::totym(): Assertion `0' failed. Odly this fails on my machine (archlinux 64 bit, and on Windows (tested by "Cybershadow")) but not on dpaste, neither 2.063 nor git -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 11 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10337 Vladimir Panteleev <thecybershadow gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thecybershadow gmail.com 21:12:26 EEST --- My DMD git was outdated (was on 9edb35f64c700eca65be718aa057cdc344896836). The error does not occur with 4bbef4f21141c6b21f35d133f348a3b215ad6513. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 11 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10337This code fails in DMD 2.063 (+ current git) with an Error in the glue layer, it worked under 2.063 module glwtf.input; import std.signals; struct DefaultAA(value_type, key_type, Default...) if(Default.length < 2) { value_type[key_type] _store; } struct SignalWrapper(Args...) { mixin Signal!(Args); } class BaseGLFWEventHandler { DefaultAA!(SignalWrapper!(), int) single_key_down; } Error: mutable method glwtf.input.SignalWrapper!().SignalWrapper.Signal!().~this is not callable using a const object dmd: glue.c:1215: virtual unsigned int Type::totym(): Assertion `0' failed. Odly this fails on my machine (archlinux 64 bit, and on Windows (tested by "Cybershadow")) but not on dpaste, neither 2.063 nor gitThis looks like a dup of bug 10106. You may need to update your local druntime. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 13 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10337 David <admin dav1d.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED I reinstalled dmd and it works now -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 14 2013