www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Nested function seems unoverloadable

reply "Artem Rebrov" <ar_other mail.ru> writes:
void a(uint v) {}
void a(void* v) {}

void main()
{
	void b(uint v){}
	void b(void* v){} //reports an error
}


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Jun 30 2006
parent reply Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Artem Rebrov schrieb am 2006-06-30:
 void a(uint v) {}
 void a(void* v) {}

 void main()
 {
 	void b(uint v){}
 	void b(void* v){} //reports an error
 }
http://www.digitalmars.com/d/function.html Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFErkpkLK5blCcjpWoRAuy9AJwPSVwxYrtp+nGiG/blAdrtBwiyjQCfXIes X8WBkkDBlt3RTRMfoHH70tU= =0/JD -----END PGP SIGNATURE-----
Jul 07 2006
parent Stewart Gordon <smjg_1998 yahoo.com> writes:
Thomas Kuehne wrote:
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 Artem Rebrov schrieb am 2006-06-30:
<snip>
 void main()
 {
 	void b(uint v){}
 	void b(void* v){} //reports an error
 }
http://www.digitalmars.com/d/function.html
What has that to do with anything? Stewart.
Jul 10 2006