[Issue 693] 'this' can't be used as an alias parameter for a mixin

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 26 13:35:22 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=693


Andrei Alexandrescu <andrei at metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |andrei at metalanguage.com
         AssignedTo|nobody at puremagic.com        |bugzilla at digitalmars.com


--- Comment #1 from Andrei Alexandrescu <andrei at metalanguage.com> 2010-11-26 13:33:57 PST ---
Bug present in 1.065 and 2.050 with different error messages. 1.065:

test.d(14): Error: mixin printer_mix!(this) does not match template declaration
printer_mix(alias T)

2.050:

test.d(14): Error: expression this is not a valid template value argument

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list