March 22, 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=62

           Summary: Error message: 'TOK41 has no effect'.
           Product: D
           Version: 0.150
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: clugdbug@yahoo.com.au


Should not compile, but error message should not refer to TOK41. Unimportant.
========
varbug2.d(10): mixin mixin peacock!(3);
 peacock is not a template
varbug2.d(11): mixin 'mixin peacock!(3);
' is not a variable
varbug2.d(11): TOK41 has no effect in expression (mixin peacock!(3);
)
varbug2.d(20): template instance varbug2.VarArgs!(Dog).VarArgs!(int) error
insta
ntiating

========
template Rubbish(A)
{
    const int Rubbish = 3;
}

template VarArgs(alias peacock) {
  template VarArgs(A) {
    void VarArgs(A a) {
      mixin peacock!(Rubbish!(A)) zz;
      zz;
    }
  }
}

void Dog() {}

void main()
{
  VarArgs!(Dog)(3);
}


-- 

April 04, 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=62


clugdbug@yahoo.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from clugdbug@yahoo.com.au  2006-04-04 06:41 -------
Fixed in 0.151.


--