[Issue 8602] ICE(mtype.c) string mixin + auto return type + template tuple

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 5 21:05:12 PST 2013


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


Kenji Hara <k.hara.pg at gmail.com> changed:

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


--- Comment #6 from Kenji Hara <k.hara.pg at gmail.com> 2013-02-05 21:05:08 PST ---
(In reply to comment #5)
> (In reply to comment #3)
> > Further reduced.
> > ------------------
> > template T8602(func...) if (func.length == 1) { }
> > 
> > struct Bug8602 {
> >     auto xx() { }
> > }
> > 
> > T8602!(mixin("Bug8602.xx")) mm;
> 
> The ICE is gone in git-head, now only gives:
> 
> Error: T8602!(xx) is used as a type

This is correct behavior, because T8602!(Bug8602.xx) does not make a type.

Maybe this is a dup of bug 5933.

-- 
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