digitalmars.D.bugs - [Issue 6763] New: Using TypeTuple with (const/in/ref etc.) changes it forever
- d-bugmail puremagic.com (39/39) Oct 03 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6763
- d-bugmail puremagic.com (11/11) Oct 04 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6763
- d-bugmail puremagic.com (12/12) Dec 11 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6763
- d-bugmail puremagic.com (6/6) Oct 30 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6763
http://d.puremagic.com/issues/show_bug.cgi?id=6763 Summary: Using TypeTuple with (const/in/ref etc.) changes it forever Product: D Version: D1 & D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: verylonglogin.reg gmail.com --- Comment #0 from Denis <verylonglogin.reg gmail.com> 2011-10-03 22:32:03 PDT --- If any two from r/i/o functions are uncommented a compiler try to add mutually exclusive storage classes and fails with "Assertion failure: '0' on line 8438 in file 'mtype.c'" --- template TypeTuple(TList...) { alias TList TypeTuple; } alias TypeTuple!(int) T; void f( T) { } void c(const T) { } ///T now is (const int) void r(ref T) { } ///T now is(ref const int) /* void i(in T) { } ///Uncomment to get an Assertion failure in 'mtype.c' void o(out T) { } ///ditto */ void main() { f(0); //With D2: Error: function main.f ((ref const const(int) _param_0)) is not callable using argument types (int) } --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 03 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6763 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2011-10-04 08:46:42 PDT --- D2 patch: https://github.com/D-Programming-Language/dmd/pull/429 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 04 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6763 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED --- Comment #2 from Walter Bright <bugzilla digitalmars.com> 2011-12-11 12:55:08 PST --- https://github.com/D-Programming-Language/dmd/commit/7a6644673212c5a2865ef31924cba7d2aa944787 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 11 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6763 --- Comment #3 from Denis Shelomovskij <verylonglogin.reg gmail.com> 2012-10-30 16:54:48 MSK --- Is it fixed for D1? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 30 2012