grauzone wrote:
Look at this for example:
 > writefln("%s", is(typeof(rtzx) == char));
This compiles even if rtzx doesn't exist. But you probably wanted to check the type of rtzx, not it if rtzx exists. If you mistyped rtzx, the compiler will never tell you.

You can do 'is(typeof(rtzx)) && is(typeof(rtzx) == char)', or wrap it in a template.

Reply via email to