[Issue 2029] Typesafe variadic functions don't work in CTFE

2009-12-23 Thread d-bugmail
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

[Issue 2029] Typesafe variadic functions don't work in CTFE

2009-12-23 Thread d-bugmail
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

[Issue 3637] Array append patch to prevent stomping and to enhance thread-local append performance

2009-12-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3637 --- Comment #4 from Leandro Lucarella 2009-12-23 09:33:20 PST --- (In reply to comment #3) > It's not *necessary* to change the API to fix this, but it is hugely > advantageous. If you want to know the block size of the chunk you just > alloc

[Issue 3640] New: shared this() constructor does not work and reports strange errors without line numbers

2009-12-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3640 Summary: shared this() constructor does not work and reports strange errors without line numbers Product: D Version: 2.036 Platform: x86 OS/Version: Linux Status: N

[Issue 3641] New: alias shared T U does not work

2009-12-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3641 Summary: alias shared T U does not work Product: D Version: 2.036 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD

[Issue 3642] New: Poor error message when using shared: function ___ not callable with argument types ___

2009-12-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3642 Summary: Poor error message when using shared: function ___ not callable with argument types ___ Product: D Version: 2.036 Platform: x86 OS/Version: Linux Status: N

[Issue 3643] New: Compiler error on obtaining typeid of a property

2009-12-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3643 Summary: Compiler error on obtaining typeid of a property Product: D Version: 2.036 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 3620] Address of member of global struct isn't constant

2009-12-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3620 --- Comment #1 from downs 2009-12-23 21:31:08 PST --- Nevermind, seems it breaks Tango .. somehow. http://www.dsource.org/projects/ldc/ticket/384 Color me confused. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=em