[Issue 8755] Change the order of reduce arguments

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8755 --- Comment #16 from monarchdo...@gmail.com 2014-03-21 01:44:56 PDT --- (In reply to comment #15) Why is reduce (sorry, fold) allowing multiple function arguments in the first place? If you want to compose functions to avoid another O(n)

[Issue 12427] New: Regression (2.066 git-head): Building druntime fails with -debug=PRINTF

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12427 Summary: Regression (2.066 git-head): Building druntime fails with -debug=PRINTF Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 8755] Change the order of reduce arguments

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8755 --- Comment #17 from monarchdo...@gmail.com 2014-03-21 01:51:41 PDT --- (In reply to comment #14) Furthermore, it also improves usability by making the seeds passed by parameter pack, instead of forcing the use of a tuple. OK. (Despite

[Issue 12427] Regression (2.066 git-head): Building druntime fails with -debug=PRINTF

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12427 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Keywords||pull

[Issue 12428] New: Regression (2.066 git-head): toUpper is corrupting input data (modifying immutable strings)

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12428 Summary: Regression (2.066 git-head): toUpper is corrupting input data (modifying immutable strings) Product: D Version: D2 Platform: All OS/Version: All Status:

[Issue 8755] Change the order of reduce arguments

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8755 --- Comment #18 from bearophile_h...@eml.cc 2014-03-21 03:46:15 PDT --- (In reply to comment #17) it would be possible to make `Tuple` and `args...` co-exist as input argument style. EG: r = a.fold!(a + b, a + b * b)(0.0, 0.0); //OK! r

[Issue 8755] Change the order of reduce arguments

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8755 --- Comment #19 from bearophile_h...@eml.cc 2014-03-21 04:03:46 PDT --- See also Issue 10670 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 5325] Mutable references to const/immutable/shared classes

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=5325 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added CC|

[Issue 5074] array(immutable(int)[]) == int[]

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=5074 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 5881] Spellchecker should include built-in keywords

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=5881 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com ---

[Issue 8755] Change the order of reduce arguments

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8755 --- Comment #20 from monarchdo...@gmail.com 2014-03-21 05:07:58 PDT --- (In reply to comment #18) What I don't like is to give only 1 single scalar argument if you have N functions and then implicitly multiply the single seed N times.

[Issue 5074] array(immutable(int)[]) == int[]

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=5074 --- Comment #8 from monarchdo...@gmail.com 2014-03-21 05:18:13 PDT --- (In reply to comment #7) It doesn't have to! If array is pure, takes some form of const(int)[], and returns int[] then the result will implicitly convert to immutable!

[Issue 5881] Spellchecker should include built-in keywords

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=5881 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 8755] Change the order of reduce arguments

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8755 --- Comment #21 from bearophile_h...@eml.cc 2014-03-21 05:32:04 PDT --- (In reply to comment #20) I'm not sure it's a fair reference, because Phobos doesn't do anything, it just provides function. I'd be willing to bet there is a fair

[Issue 5074] array(immutable(int)[]) == int[]

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=5074 --- Comment #9 from bearophile_h...@eml.cc 2014-03-21 05:36:04 PDT --- (In reply to comment #7) It doesn't have to! If array is pure, takes some form of const(int)[], and returns int[] then the result will implicitly convert to immutable!

[Issue 12429] New: SIMD vector type errors are too eager

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12429 Summary: SIMD vector type errors are too eager Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 12430] New: non compile-time __simd opcode causes ICE

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12430 Summary: non compile-time __simd opcode causes ICE Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 12431] New: SIMD vector in struct ICE

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12431 Summary: SIMD vector in struct ICE Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component:

[Issue 12427] Regression (2.066 git-head): Building druntime fails with -debug=PRINTF

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12427 --- Comment #2 from github-bugzi...@puremagic.com 2014-03-21 08:30:55 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/druntime

[Issue 12427] Regression (2.066 git-head): Building druntime fails with -debug=PRINTF

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12427 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 12432] New: cryptic error using splitter in foreach

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12432 Summary: cryptic error using splitter in foreach Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P2

[Issue 3882] Unused result of pure functions

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=3882 --- Comment #34 from github-bugzi...@puremagic.com 2014-03-21 10:47:49 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 12433] New: Allow forward referencing IFTI types in template argument list

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12433 Summary: Allow forward referencing IFTI types in template argument list Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

[Issue 12113] A nothrow std.utf.decode with substitution on bad encoding

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12113 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 12432] Diagnostic on argument count mismatch for ranges and opApply should improve

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12432 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Keywords||pull

[Issue 12434] New: std.algorithm.sum of immutable array too

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12434 Summary: std.algorithm.sum of immutable array too Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal

[Issue 3882] Unused result of pure functions

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=3882 bearophile_h...@eml.cc changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Issue 12417] `toStringz` is fundamentally broken

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12417 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 12417] `toStringz` is fundamentally broken

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12417 --- Comment #2 from Denis Shelomovskij verylonglogin@gmail.com 2014-03-22 00:53:42 MSK --- (In reply to comment #1) I.e. you must read the C API documentation about what happens to those passed in pointer to data. I'm talking about

[Issue 12435] New: std.range.transposed for immutable matrix too

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12435 Summary: std.range.transposed for immutable matrix too Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity:

[Issue 12436] New: Opaque struct parameter type should not be allowed

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12436 Summary: Opaque struct parameter type should not be allowed Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: accepts-invalid Severity:

[Issue 12436] Opaque struct parameter type should not be allowed

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12436 --- Comment #1 from Andrej Mitrovic andrej.mitrov...@gmail.com 2014-03-21 15:38:16 PDT --- There are various other cases not caught yet, even for return types which are partially checked now. Examples: - struct S; S ret_f1(); //

[Issue 12436] Opaque struct parameter type should not be allowed

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12436 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added CC|

[Issue 12437] New: ICE when passing undefined type to function pointer

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12437 Summary: ICE when passing undefined type to function pointer Product: D Version: D2 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2

[Issue 12436] Opaque struct parameter type should not be allowed

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12436 --- Comment #3 from Andrej Mitrovic andrej.mitrov...@gmail.com 2014-03-21 17:09:08 PDT --- (In reply to comment #2) I would point out that references to opaque structs should compile. In your examples: S[] S[]* Should compile,

[Issue 12437] ICE when passing undefined type to function pointer

2014-03-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12437 Michael M michaelpm...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED