http://d.puremagic.com/issues/show_bug.cgi?id=2029
Tomas Lindquist Olsen changed:
What|Removed |Added
CC||to...@famolsen.dk
--- Comment
http://d.puremagic.com/issues/show_bug.cgi?id=2029
Don changed:
What|Removed |Added
Version|2.013 |1.020
--- Comment #2 from Don 2009-09-15 07:30:
http://d.puremagic.com/issues/show_bug.cgi?id=2029
--- Comment #3 from Don 2009-09-15 07:42:03 PDT ---
(In reply to comment #2)
> (In reply to comment #1)
> > I'd like this to work too :) I guess I should make a patch ...
>
> I had a quick go at it before the last release. I didn't include it
http://d.puremagic.com/issues/show_bug.cgi?id=2029
--- Comment #4 from Tomas Lindquist Olsen 2009-11-18
03:40:17 PST ---
Created an attachment (id=501)
draft patch for fixing typesafe variadic and ctfe
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You
http://d.puremagic.com/issues/show_bug.cgi?id=2029
--- Comment #6 from Tomas Lindquist Olsen 2009-11-18
03:48:50 PST ---
I forgot to mention, the patch is against the latest dmd-1.x branch
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving
http://d.puremagic.com/issues/show_bug.cgi?id=2029
--- Comment #5 from Tomas Lindquist Olsen 2009-11-18
03:46:13 PST ---
I've attached a draft patch that replaces the typesafe variadic ast rewrites to
something that works in any scope (and with ctfe).
without the patch the following function:
http://d.puremagic.com/issues/show_bug.cgi?id=2029
--- Comment #7 from Tomas Lindquist Olsen 2009-11-21
06:21:44 PST ---
So... Noone cares?
... This is a *draft*. I'm looking for feedback on how to better fix this,
while the patch isn't perfect, it does fix the bug.
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=2029
--- Comment #8 from Don 2009-11-25 21:23:48 PST ---
Thanks, this is helpful. The problem is, that this isn't an isolated bug: the
struct constructor bug has the same root cause. I think we need to fix both of
them at once.
--
Configure issuem
http://d.puremagic.com/issues/show_bug.cgi?id=2029
--- Comment #9 from Don 2009-12-23 01:34:48 PST ---
The solution is much, much simpler. The problem is that CTFE doesn't support
casting array literals to their base type, even though it's a no-op!
constfold.c, inside Expression *Cast(Type *t
http://d.puremagic.com/issues/show_bug.cgi?id=2029
--- Comment #10 from Don 2009-12-23 01:50:30 PST ---
Oops, we still don't support C-style variadics. The patch to interpret.c should
be:
-if (tf->varargs)
+if (tf->varargs && arguments && parameters && arguments->dim !=
parameters->di
http://d.puremagic.com/issues/show_bug.cgi?id=2029
--- Comment #12 from Walter Bright 2009-12-29
03:08:36 PST ---
(In reply to comment #11)
> Changeset 318
Wrong changeset, oops! 318 is for bugzilla 282
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- Yo
http://d.puremagic.com/issues/show_bug.cgi?id=2029
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #
http://d.puremagic.com/issues/show_bug.cgi?id=2029
Leandro Lucarella changed:
What|Removed |Added
CC||llu...@gmail.com
--- Comment #13 f
http://d.puremagic.com/issues/show_bug.cgi?id=2029
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
14 matches
Mail list logo