digitalmars.D.bugs - [Issue 7950] New: Cannot derive interface from empty type tuple
- d-bugmail puremagic.com (25/25) Apr 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7950
- d-bugmail puremagic.com (14/14) Apr 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7950
- d-bugmail puremagic.com (10/10) Apr 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7950
- d-bugmail puremagic.com (13/13) Apr 22 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7950
- d-bugmail puremagic.com (10/10) Feb 05 2013 http://d.puremagic.com/issues/show_bug.cgi?id=7950
http://d.puremagic.com/issues/show_bug.cgi?id=7950 Summary: Cannot derive interface from empty type tuple Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: samukha voliacable.com PDT --- Empty tuple in an interface's base type list should be legal as it is with classes. import std.typetuple; interface I {} // ok interface I2 : TypeTuple!() {} // ok interface I3 : TypeTuple!(I) {} // ok class A : I, TypeTuple!() {} // ok interface I4 : I, TypeTuple!() {} // fail Error: interface a.I4 base type must be interface, not () -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 20 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7950 Max Samukha <samukha voliacable.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Cannot derive interface |Type tuples are incorrectly |from empty type tuple |flattened in base type list | |of interface PDT --- Actually, the problem is with tuple flattening in general: class A2 : I, TypeTuple!(I2) {} // ok interface I5 : I, TypeTuple!(I2) {} // fail -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 20 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7950 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull, rejects-valid https://github.com/D-Programming-Language/dmd/pull/896 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 20 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7950 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/af736632ff93aa5ac7d5c8cbbde78e3ad331313d fix Issue 7950 - Type tuples are incorrectly flattened in base type list of interface https://github.com/D-Programming-Language/dmd/commit/5787ab15f43c201168ba0b8a0e5d6f6503cb7623 Issue 7950 - Type tuples are incorrectly flattened in base type list of interface -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 22 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7950 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |andrej.mitrovich gmail.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 05 2013