www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - bool: funny error message

reply Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

nocompile/b/bool_02.d(10):
cannot implicitly convert expression (2) of type int to !!

I'v never heard of a type called "!!"!

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFEAfKc3w+/yD4P9tIRAiu8AKCa8YNORLbsTgoUz48YG1vLEyUaHwCfTXCw
Sg0rh06KipRNK1w8sgoNtkk=
=yikj
-----END PGP SIGNATURE-----
Feb 26 2006
parent Dawid =?UTF-8?B?Q2nEmcW8YXJraWV3aWN6?= <dawid.ciezarkiewicz gmail.com> writes:
Thomas Kuehne wrote:
 I'v never heard of a type called "!!"!

It's actually "void", because as we all know two negations annihilate each other. :D
Feb 27 2006