www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - error message "expression 99"

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

msg.d:
# Object o;
# void* ptr = 'c' in o;

 msg.d(2): rvalue of in expression must be an associative array, not Object
 msg.d(2): cannot implicitly convert expression 99 in o of type int to void*

The first line is corrent. In the the second 'c'(char) is displayed as an integer. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.13 (GNU/Linux) iD8DBQFBtZKU3w+/yD4P9tIRArf8AJ4oBb2Su6fsMJH8jO1KlFsBATR+iACeMXRL qeAg/DvYU+cL7ZcZxbGFPSI= =86Xs -----END PGP SIGNATURE-----
Dec 07 2004