[Issue 3416] Non-compilable template instantiation in is(typeof()) fails compilation

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3416

Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

Version|2.035   |D2

--


[Issue 3416] Non-compilable template instantiation in is(typeof()) fails compilation

2009-10-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3416


Max Samukha samu...@voliacable.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE
   Severity|blocker |normal


--- Comment #10 from Max Samukha samu...@voliacable.com 2009-10-28 06:58:04 
PDT ---
I think, you are right. No point in further analysis if the type can be
determined without it. Sorry for the rant.

I'll post a bug concerning __traits(compiles), then.

*** This issue has been marked as a duplicate of issue 965 ***

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


[Issue 3416] Non-compilable template instantiation in is(typeof()) fails compilation

2009-10-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3416



--- Comment #6 from Max Samukha samu...@voliacable.com 2009-10-19 06:24:50 
PDT ---
Ok, but there is no other way to determine if some syntactically correct code
is also correct semantically. And without that, D's metaprogramming system is
of little use.

Anyway, I'm not sure whether semantically incorrect code should produce a valid
type, which void is. Should it?

And the current compiler seems to treat __traits(compiles, X) and is(typeof(X))
identically...

I think this bug should remain open until is(typeof(X)) is fixed or a
different/better mechanism is introduced. And it is definitely a blocker.

Thanks

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


[Issue 3416] Non-compilable template instantiation in is(typeof()) fails compilation

2009-10-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3416


Max Samukha samu...@voliacable.com changed:

   What|Removed |Added

   Severity|normal  |blocker


--- Comment #1 from Max Samukha samu...@voliacable.com 2009-10-18 11:56:17 
PDT ---
Looks like a blocker for QtD

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