[Issue 5995] string append negative integer causes segfault

2017-07-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 Vladimir Panteleev changed: What|Removed |Added CC|

[Issue 5995] string append negative integer causes segfault

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 --- Comment #22 from github-bugzi...@puremagic.com --- Commits pushed to newCTFE at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/316e6d2607b4b22794ef75a331ad27d970717cda fix issue 5995

[Issue 5995] string append negative integer causes segfault

2017-01-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 --- Comment #21 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/316e6d2607b4b22794ef75a331ad27d970717cda fix issue 5995

[Issue 5995] string append negative integer causes segfault

2016-12-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 --- Comment #20 from github-bugzi...@puremagic.com --- Commits pushed to scope at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/316e6d2607b4b22794ef75a331ad27d970717cda fix issue 5995

[Issue 5995] string append negative integer causes segfault

2016-12-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 5995] string append negative integer causes segfault

2016-12-05 Thread via Digitalmars-d-bugs
/commit/6dbbadbac4a0567ba49f0e616fccc8c597fec771 Merge pull request #1696 from somzzz/issue_5995 fix issue 5995 - string append negative integer causes segfault --

[Issue 5995] string append negative integer causes segfault

2016-11-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 --- Comment #18 from Lucia Cojocaru --- As Andrei suggested, here is the quick fix: PR https://github.com/dlang/druntime/pull/1696 Language design changes should be discussed with Walter and Andrei in depth. --

[Issue 5995] string append negative integer causes segfault

2016-11-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 --- Comment #17 from Steven Schveighoffer --- There are two problems, one is that the OP's code compiles, the other is that it segfaults. Arguably, fixing the first problem will fix the second. But just fixing the second leaves

[Issue 5995] string append negative integer causes segfault

2016-11-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 --- Comment #16 from Andrei Alexandrescu --- This bug has a simple fix - throw a runtime exception (e.g. by onUnicodeError) instead of assert(0). We shouldn't change language rules on account of this. Thanks! --

[Issue 5995] string append negative integer causes segfault

2016-11-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 --- Comment #15 from Steven Schveighoffer --- Lucia, I think nothing should implicitly cast to dchar. Not bool, int, or even char or wchar. But something this drastic needs approval from Walter and Andrei. Of course, we

[Issue 5995] string append negative integer causes segfault

2016-11-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 Lucia Cojocaru changed: What|Removed |Added Assignee|nob...@puremagic.com

[Issue 5995] string append negative integer causes segfault

2016-11-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 Lucia Cojocaru changed: What|Removed |Added Component|druntime|dmd --

[Issue 5995] string append negative integer causes segfault

2016-11-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 Lucia Cojocaru changed: What|Removed |Added CC|

[Issue 5995] string append negative integer causes segfault

2016-10-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp

[Issue 5995] string append negative integer causes segfault

2015-04-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 erict...@gmail.com changed: What|Removed |Added CC||erict...@gmail.com --- Comment #13 from

[Issue 5995] string append negative integer causes segfault

2014-10-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 --- Comment #12 from Steven Schveighoffer schvei...@yahoo.com --- (In reply to hsteoh from comment #11) Should appending invalid codepoints append the Unicode replacement character instead? I think implicit casting of int to dchar should be invalid

[Issue 5995] string append negative integer causes segfault

2014-10-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 --- Comment #11 from hst...@quickfur.ath.cx --- Should appending invalid codepoints append the Unicode replacement character instead? --

[Issue 5995] string append negative integer causes segfault

2014-09-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --- Comment

[Issue 5995] string append negative integer causes segfault

2014-06-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 briancsch...@gmail.com changed: What|Removed |Added CC||briancsch...@gmail.com --- Comment

[Issue 5995] string append negative integer causes segfault

2011-05-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5995 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added CC|

[Issue 5995] string append negative integer causes segfault

2011-05-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5995 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added CC|

[Issue 5995] string append negative integer causes segfault

2011-05-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5995 timon.g...@gmx.ch changed: What|Removed |Added CC||timon.g...@gmx.ch --- Comment #5

[Issue 5995] string append negative integer causes segfault

2011-05-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5995 --- Comment #6 from timon.g...@gmx.ch 2011-05-16 11:07:36 PDT --- (In reply to comment #4) Implicitly converting to the same-size _unsigned_ integral type might be fine, but converting to a signed type would be a narrowing conversion. I'd

[Issue 5995] string append negative integer causes segfault

2011-05-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5995 --- Comment #8 from Steven Schveighoffer schvei...@yahoo.com 2011-05-16 11:26:52 PDT --- (In reply to comment #6) void main(){ uint i=-1; //fine dchar c=-1; //compile time error } Just tried this and it indeed produces an error:

[Issue 5995] string append negative integer causes segfault

2011-05-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5995 kenn...@gmail.com changed: What|Removed |Added CC||kenn...@gmail.com --- Comment #1

[Issue 5995] string append negative integer causes segfault

2011-05-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5995 Vladimir thecybersha...@gmail.com changed: What|Removed |Added CC|