digitalmars.D.bugs - [Issue 11096] New: mixin templates are not regular templates
- d-bugmail puremagic.com (25/25) Sep 22 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11096
- d-bugmail puremagic.com (10/10) Sep 22 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11096
- d-bugmail puremagic.com (13/13) Oct 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11096
http://d.puremagic.com/issues/show_bug.cgi?id=11096
Summary: mixin templates are not regular templates
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: regression
Priority: P2
Component: DMD
AssignedTo: nobody puremagic.com
ReportedBy: simendsjo gmail.com
I get this error with dmd head:
t.d(4): Error: template instance A!() mixin templates are not regular templates
t.d(4): Error: Cannot interpret A() at compile time
t.d(4): while evaluating pragma(msg, A)
mixin template A() { }
void main() {
pragma(msg, A);
}
Didn't break in 2.063.2.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 22 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11096
Kenji Hara <k.hara.pg gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull, rejects-valid
https://github.com/D-Programming-Language/dmd/pull/2584
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 22 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11096
Walter Bright <bugzilla digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |bugzilla digitalmars.com
Resolution| |INVALID
20:28:25 PDT ---
See the discussion in https://github.com/D-Programming-Language/dmd/pull/2584
for why this is expected behavior, rather than a bug.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 08 2013









d-bugmail puremagic.com 