digitalmars.D.bugs - compiler aborts
- tetsuya (17/17) Nov 15 2004 dmd 0.106, winXP
- Thomas Kuehne (6/24) Nov 15 2004 added to DStress as:
- Thomas Kuehne (2/3) Nov 16 2004 should have been:
- Walter (2/2) Dec 01 2004 What do you mean by "compiler aborts"? It compiles without error when I ...
- Walter (1/1) Dec 01 2004 It's fixed now. -Walter
dmd 0.106, winXP
thanks ALLOT for fixing the "tocvdebug.c" bug, now i can
use the -g option to debug my codes!! anyway..
compiler aborts to the following code.
<code>
template t(int L)
{
int a;
// void foo(int b = t!(L).a) {} // correct
void foo(int b = t.a) {} // wrong
}
unittest
{
mixin t!(10);
}
</code>
tetsuya
Nov 15 2004
added to DStress as:
http://svn.kuehne.cn/dstress/nocompile/default_argument_05.
http://svn.kuehne.cn/dstress/run/default_argument_06.d
http://svn.kuehne.cn/dstress/run/default_argument_07.d
Thomas
tetsuya schrieb am Montag, 15. November 2004 16:36:
compiler aborts to the following code.
<code>
template t(int L)
{
int a;
// void foo(int b = t!(L).a) {} // correct
void foo(int b = t.a) {} // wrong
}
unittest
{
mixin t!(10);
}
</code>
tetsuya
Nov 15 2004
http://svn.kuehne.cn/dstress/nocompile/default_argument_05.should have been: http://svn.kuehne.cn/dstress/nocompile/default_argument_05.d
Nov 16 2004
What do you mean by "compiler aborts"? It compiles without error when I try it. -Walter
Dec 01 2004
In article <cok7fv$1qph$1 digitaldaemon.com>, Walter says...What do you mean by "compiler aborts"? It compiles without error when I try it. -WalterTry the unittest option.
Dec 01 2004









Thomas Kuehne <thomas-dloop kuehne.thisisspam.cn> 