[Issue 13586] Destructors not run when argument list evaluation throws

2014-10-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13586 --- Comment #16 from Sobirari Muhomori --- (In reply to monarchdodra from comment #15) > I could be talking out of my ass, but I'd *assume* ownership transfer is > required for proper move semantics. AFAIK, move semantics is need only for return val

[Issue 13661] New: static array init does not call destructors

2014-10-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13661 Issue ID: 13661 Summary: static array init does not call destructors Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Pr

[Issue 13658] Array length type is not size_t

2014-10-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13658 --- Comment #1 from Sobirari Muhomori --- size_t is not always ulong, it's uint in 32-bit mode and ulong in 64-bit mode. --

[Issue 13658] Array length type is not size_t

2014-10-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13658 Mike Parker changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 13658] Array length type is not size_t

2014-10-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13658 --- Comment #3 from Sobirari Muhomori --- (In reply to Mark Isaacson from comment #0) > For reference, the precise line of code that breaks: > https://github.com/facebook/flint/blob/master/Checks.d#L3016 size_t[] specialTokenHead = []; size_t[] lhsE

[Issue 13651] Writing Unicode text with console code page 65001 (UTF-8) may fail

2014-10-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13651 --- Comment #2 from Sobirari Muhomori --- Is "broken pipe" error reported by MSVC runtime itself? The file interface to console stream in utf-8 encoding is a little tricky: the program shouldn't check the number of written bytes (it's probably messed

[Issue 13651] Writing Unicode text with console code page 65001 (UTF-8) may fail

2014-10-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13651 --- Comment #3 from Sobirari Muhomori --- (In reply to Vladimir Panteleev from comment #1) > BTW, I've tried reducing data.txt, and I think it's no coincidence that its > size is 1 past 16384 (0x4000). You mean it works for smaller files? There's si

[Issue 13651] Writing Unicode text with console code page 65001 (UTF-8) may fail

2014-10-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13651 --- Comment #4 from Vladimir Panteleev --- Yes. The program I posted throws an exception because fwrite returns a number (bytes written) smaller than the size of the data. According to its documentation, this indicates a write error. I've tried mod

[Issue 13651] Writing Unicode text with console code page 65001 (UTF-8) may fail

2014-10-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13651 --- Comment #5 from Vladimir Panteleev --- I guess sometimes fwrite will return a number different from the "count" parameter, even though it wrote everything without an error? --

[Issue 13658] Array length type is not size_t

2014-10-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13658 --- Comment #4 from Steven Schveighoffer --- (In reply to Mike Parker from comment #2) > (in the C99 standard it is defined as an unsigned integer of at > least 16 bytes in size). bit, byte, same thing pretty much ;) --

[Issue 13658] Array length type is not size_t

2014-10-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13658 --- Comment #5 from Mike Parker --- (In reply to Steven Schveighoffer from comment #4) > (In reply to Mike Parker from comment #2) > > (in the C99 standard it is defined as an unsigned integer of at > > least 16 bytes in size). > > bit, byte, same t

[Issue 13595] Extend std.algorithm.groupBy to support non-equivalence relations

2014-10-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13595 hst...@quickfur.ath.cx changed: What|Removed |Added Summary|A possible problem with |Extend |std.algori

[Issue 13651] Writing Unicode text with console code page 65001 (UTF-8) may fail

2014-10-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13651 --- Comment #6 from Sobirari Muhomori --- I think, it applies to console only. By implementation, WriteFile checks if the file is console and calls WriteConsoleA, which can think in characters instead of bytes. --

[Issue 13586] Destructors not run when argument list evaluation throws

2014-10-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13586 --- Comment #17 from Andrei Alexandrescu --- (In reply to Sobirari Muhomori from comment #16) > (In reply to monarchdodra from comment #15) > > I could be talking out of my ass, but I'd *assume* ownership transfer is > > required for proper move sema

[Issue 13651] Writing Unicode text with console code page 65001 (UTF-8) may fail

2014-10-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13651 --- Comment #7 from Sobirari Muhomori --- Indeed, docs for WriteConsole say it operates in terms of characters without definition of the character and indeed it reports the number of written characters, not bytes. --

[Issue 13661] static array init does not call destructors

2014-10-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13661 Tomer Filiba changed: What|Removed |Added CC||tomerfil...@gmail.com --

[Issue 13651] Writing Unicode text with console code page 65001 (UTF-8) may fail

2014-10-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13651 brocolis changed: What|Removed |Added CC||broco...@eml.cc --- Comment #8 from brocolis ---

[Issue 13661] static array init does not call destructors

2014-10-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13661 --- Comment #1 from Tomer Filiba --- For reference: http://forum.dlang.org/thread/m2kscm$24hm$1...@digitalmars.com --

[Issue 13621] inout issue with std.container.Array opSlice

2014-10-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13621 --- Comment #1 from Martin Nowak --- Temporary workaround is to change Range opSlice() inout to inout(Range) opSlice() inout https://github.com/D-Programming-Language/phobos/blob/bf37eef3bd7f2eb643971d9bdfdeb00f67068697/std/container/array.

[Issue 13662] New: @safe pure @nogc nothrow findRoot

2014-10-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13662 Issue ID: 13662 Summary: @safe pure @nogc nothrow findRoot Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1