https://issues.dlang.org/show_bug.cgi?id=4042
Andrei Alexandrescu changed:
What|Removed |Added
Version|2.040 |D2
--
http://d.puremagic.com/issues/show_bug.cgi?id=4042
Max Samukha changed:
What|Removed |Added
CC||samu...@voliacable.com
--- Comment #1 fr
http://d.puremagic.com/issues/show_bug.cgi?id=4042
--- Comment #2 from Max Samukha 2010-04-03 05:25:22
PDT ---
> There may be more than one bug. Note that the static if body in QTypeInfo is
> evaluated even though no __isQObjectType is defined in QGraphicsWidget or
> QAction.
Ignore that part
http://d.puremagic.com/issues/show_bug.cgi?id=4042
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #
http://d.puremagic.com/issues/show_bug.cgi?id=4042
--- Comment #4 from Walter Bright 2010-05-09
19:53:56 PDT ---
Trying to perfectly unwind forward reference failures is buggy and probably
doomed. This one fails because function parameter types don't get redone. While
it's easy to fix that one
http://d.puremagic.com/issues/show_bug.cgi?id=4042
--- Comment #5 from Walter Bright 2010-05-09
20:00:03 PDT ---
changelog 477
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=4042
--- Comment #6 from Eldar Insafutdinov 2010-05-10
03:31:35 PDT ---
(In reply to comment #5)
> changelog 477
Thanks for that. I will check if it fixes our problem later today. And I am
also looking forward to properly fix of forward references
http://d.puremagic.com/issues/show_bug.cgi?id=4042
--- Comment #7 from Max Samukha 2010-05-10 07:45:38
PDT ---
*** Issue 4043 has been marked as a duplicate of this issue. ***
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail be
http://d.puremagic.com/issues/show_bug.cgi?id=4042
--- Comment #8 from Max Samukha 2010-05-10 08:01:05
PDT ---
(In reply to comment #5)
> changelog 477
Qtd compiles with that. Thank you.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving
http://d.puremagic.com/issues/show_bug.cgi?id=4042
Don changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
The test case compiles when exec method definition is moved down:
template isQObjectType(T)
{
enum isQObjectType = is(T.__isQObjectType);
}
template QTypeInfo(T)
{
static if (!isQObjectType!T)
{
enum size = T.sizeof;
}
}
struct QList(T)
{
alias QTypeInfo!T TI;
int
11 matches
Mail list logo