[Issue 8339] is(typeof(...)) is reporting true when it's false due to nested function error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jul 15 22:48:37 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8339



--- Comment #2 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-07-15 22:48:35 PDT ---
We use is(typeof(exp)) to check for compilability all over the place. Are you
saying that we should be using __traits(compiles, exp) instead?

Using __traits(compiles, {R range;}) still fails here. But should it work as
I'm trying to do here if the glue layer issues is fixed?

If not, how am I supposed to test that I can actually _use_ R.init in addition
to it existing? Or is it the case that I should _always_ be able to use R.init
if it exists?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list