grauzone wrote:
You're not testing for types, you're testing if it compiles. Inside the tested block of code, all sorts of things could go wrong. You can't know if is(typeof(...)) really did what you wanted, or if something broke.

So it requires caution, and you want to keep the contents small. It's useful, but it requires caution.

Reply via email to