[Issue 7810] [CTFE] Typesafe variadic function with array of structs

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7810 yebblies changed: What|Removed |Added CC||yebbl...@gmail.com --- Comment #12 from yeb

[Issue 7810] [CTFE] Typesafe variadic function with array of structs

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7810 --- Comment #11 from github-bugzi...@puremagic.com 2012-10-16 04:22:39 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/7d133964da2a5c0c794b82d42f3f3c9cbfdcf0

[Issue 8830] New: [CTFE] Incorrect slicing with pointer from sliced array

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8830 Summary: [CTFE] Incorrect slicing with pointer from sliced array Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: major

[Issue 8830] [CTFE] Incorrect slicing with pointer from sliced array

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8830 --- Comment #1 from monarchdo...@gmail.com 2012-10-16 06:57:02 PDT --- (In reply to comment #0) > Minimal test case: > > // > import std.stdio; > > string[] foo(string s) > { > auto ss = s[1..$]; > auto l = ss.length; > string s2 = s

[Issue 8745] floating point comparison ("is" vs "==") inconsistency (on 32)

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8745 Maxim Fomin changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 8476] float comparison operand not truncated from real

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8476 Maxim Fomin changed: What|Removed |Added CC||monarchdo...@gmail.com --- Comment #8 fr

[Issue 8476] float comparison operand not truncated from real

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8476 Maxim Fomin changed: What|Removed |Added CC||ma...@maxim-fomin.ru --- Comment #9 from

[Issue 8803] map.filter.array run map delegate an incorrect number of time.

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8803 Peter Alexander changed: What|Removed |Added CC||peter.alexander...@gmail.co

[Issue 3011] alias should have assignment syntax

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3011 --- Comment #3 from Kenji Hara 2012-10-16 10:01:19 PDT --- https://github.com/D-Programming-Language/dmd/pull/1187 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because:

[Issue 8803] map.filter.array run map delegate an incorrect number of time.

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8803 --- Comment #2 from deadalnix 2012-10-16 10:17:43 PDT --- (In reply to comment #1) > I'm assuming the bug here is that map's ddoc says it caches front, but it > clearly isn't. I've updated the ddoc to reflect this. > > https://github.com/D-Pro

[Issue 6754] extern() in a function signature

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6754 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comme

[Issue 6495] array(file.byLine()) is a problem

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6495 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Com

[Issue 8828] Long compilation time of a destroy() on a large fixed-sized matrix

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8828 --- Comment #2 from bearophile_h...@eml.cc 2012-10-16 13:30:48 PDT --- (In reply to comment #1) > Is the program behaving correctly otherwise ? The program seems to work correctly. > Are the mov's from the destroy() call or This is the main

[Issue 8803] map.filter.array run map delegate an incorrect number of time.

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8803 --- Comment #3 from Peter Alexander 2012-10-16 13:59:38 PDT --- (In reply to comment #2) > Being unable to do .map.filter defeat the whole point of map and filter. Sorry, I'm not following. Why are you saying you can't do a .map.filter? You c

[Issue 8803] map.filter.array run map delegate an incorrect number of time.

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8803 --- Comment #4 from deadalnix 2012-10-16 14:20:32 PDT --- (In reply to comment #3) > (In reply to comment #2) > > Being unable to do .map.filter defeat the whole point of map and filter. > > Sorry, I'm not following. Why are you saying you can

[Issue 8803] map.filter.array run map delegate an incorrect number of time.

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8803 --- Comment #5 from Peter Alexander 2012-10-16 14:31:13 PDT --- (In reply to comment #4) > The problem is that the delegate get executed an impredictable number of time. > Which make side effect extremely hard to handle (I ended up using > map

[Issue 8831] New: core.atomic: add compare-and-swap function with other result type

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8831 Summary: core.atomic: add compare-and-swap function with other result type Product: D Version: D2 Platform: x86 OS/Version: All Status: NEW Severity: enha

[Issue 8831] core.atomic: add compare-and-swap function with other result type

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8831 --- Comment #1 from mimocrocodil <4deni...@gmail.com> 2012-10-16 15:15:57 PDT --- names: "cas", "cas1" (it seems name from Java) for function who returns comparision value and "cass" for function who returns struct. (And can stop at first two -

[Issue 8831] core.atomic: add compare-and-swap function with other result type

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8831 --- Comment #2 from mimocrocodil <4deni...@gmail.com> 2012-10-16 15:35:10 PDT --- (In reply to comment #1) > names: "cas", "cas1" (it seems name from Java) for function who returns > comparision value and "cass" for function who returns struct.

[Issue 8831] core.atomic: add compare-and-swap function with other result type

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8831 mimocrocodil <4deni...@gmail.com> changed: What|Removed |Added Component|Phobos |druntime --- Commen

[Issue 8803] map.filter.array run map delegate an incorrect number of time.

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8803 Alex R�nne Petersen changed: What|Removed |Added CC||a...@lycus.org --- Comment #6 fr

[Issue 8832] New: Segfault when accessing range returned by function that has delegate referencing local variables

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8832 Summary: Segfault when accessing range returned by function that has delegate referencing local variables Product: D Version: D2 Platform: All OS/Version: All Statu

[Issue 8542] crosstalk between template instantiations

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8542 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --- Com

[Issue 7810] [CTFE] Typesafe variadic function with array of structs

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7810 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 3523] Fiber is not garbage collected properly

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3523 --- Comment #13 from d...@dawgfoto.de 2012-10-16 18:06:40 PDT --- >When the fiber is halted the Fiber object owns it's stack This doesn't work out with our current GC mechanisms and the required stack scans. The other solution I can think of i

[Issue 8833] New: Odd error with expression tuples

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8833 Summary: Odd error with expression tuples Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD

[Issue 8833] Odd error with expression tuples

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8833 --- Comment #1 from Andrej Mitrovic 2012-10-16 20:26:04 PDT --- Btw if you want to see some interesting code: import std.stdio; import std.typetuple; int Delay(alias Call, alias arg)() { return Call(arg); } template Map(alias Call, args...)

[Issue 8833] Odd error with expression tuples

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8833 --- Comment #2 from Andrej Mitrovic 2012-10-16 20:27:16 PDT --- (In reply to comment #1) > int Delay(alias Call, alias arg)() { return Call(arg); } Btw although 'auto' won't work here (forward reference error) we can easily use ReturnType!Cal

[Issue 4601] Spawned threads frequently don't terminate or let other threads ever run if you spawn more than one thread

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4601 Jonathan M Davis changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 8834] New: UFCS doesn't work with local aliases to functions

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8834 Summary: UFCS doesn't work with local aliases to functions Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 C

[Issue 8832] Segfault when accessing range returned by function that has delegate referencing local variables

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8832 --- Comment #1 from hst...@quickfur.ath.cx 2012-10-16 21:50:50 PDT --- See also issue 7978, probably the same bug in a different context. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving t

[Issue 7978] UTF exception (memory corruption?) using std.range.chain (behavior changes with -g)

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7978 --- Comment #2 from hst...@quickfur.ath.cx 2012-10-16 22:13:37 PDT --- According to TDPL (section 5.8.1) it should be valid to reference local variables from a closure. So this is a valid bug. I'll let you decide whether to reopen it; I already

[Issue 7978] UTF exception (memory corruption?) using std.range.chain (behavior changes with -g)

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7978 Brad Anderson changed: What|Removed |Added Status|RESOLVED|REOPENED See Also|

[Issue 7978] UTF exception (memory corruption?) using std.range.chain (behavior changes with -g)

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7978 --- Comment #3 from Brad Anderson 2012-10-16 22:20:24 PDT --- I've reopened so I'm reminded to check on this if issue 8832 gets fixed. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving thi