digitalmars.D.bugs - DDoc: "Error: static if conditional cannot be at global scope"
- Sean Kelly (17/17) Mar 03 2006 C:\code\d\bugs>type 148_1.d
C:\code\d\bugs>type 148_1.d
/**
*
*/
struct MyStruct(T)
{
static if( true )
{
void f1() {}
}
}
void main()
{
}
C:\code\d\bugs>dmd -D -o- 148_1.d
148_1.d(6): Error: static if conditional cannot be at global scope
C:\code\d\bugs>
Mar 03 2006








Sean Kelly <sean f4.ca>