[Issue 2432] complex alias -> mtype.c:125: virtual Type* Type::syntaxCopy(): Assertion `0' failed.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Nov 24 08:59:06 PST 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2432
smjg at iname.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |smjg at iname.com
Keywords| |ice-on-valid-code
OS/Version|Linux |All
------- Comment #2 from smjg at iname.com 2008-11-24 10:59 -------
Still fails if the C and D middlemen are cut out (1.039 Windows):
----------
template Tuple(T...) { alias T Tuple; }
enum J { N }
template A(){ const J M = J.N; }
template B(){ alias A!() G; }
alias Tuple!(Tuple!(B!())[0].G) L;
pragma(msg, L.stringof);
----------
bz2432.d(8): Error: expression A!() is not a valid template value argument
bz2432.d(8): template instance bz2432.Tuple!(A!()) error instantiating
J 00192E30
ty = 9
Assertion failure: '0' on line 125 in file 'mtype.c'
----------
--
More information about the Digitalmars-d-bugs
mailing list