digitalmars.D.bugs - colon after version is ignored
- Carlos Santander (13/13) Jun 20 2006 This is an old one:
This is an old one:
//----------------------------
void bar ()
{
foo ();
}
version(none):
void foo () {}
//----------------------------
Compiles without errors when it should fail with "test.d:3: undefined
identifier
foo", as it indeed does if the colon is removed.
--
Carlos Santander Bernal
Jun 20 2006








Carlos Santander <csantander619 gmail.com>