incorrect deprecated error

Carlos Santander csantander619 at gmail.com
Tue May 16 18:42:41 PDT 2006


This code:

//-----------------------
void baz() {}
deprecated alias baz foo;
void foo(int i) {}

void main()
{
	foo(4);  // line 7
}
//-----------------------

Produces this:

test4.d:7: alias test4.foo is deprecated

-- 
Carlos Santander Bernal



More information about the Digitalmars-d-bugs mailing list