https://issues.dlang.org/show_bug.cgi?id=5995
Vladimir Panteleev changed:
What|Removed |Added
CC|
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
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
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
https://issues.dlang.org/show_bug.cgi?id=5995
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
/commit/6dbbadbac4a0567ba49f0e616fccc8c597fec771
Merge pull request #1696 from somzzz/issue_5995
fix issue 5995 - string append negative integer causes segfault
--
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.
--
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
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!
--
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
https://issues.dlang.org/show_bug.cgi?id=5995
Lucia Cojocaru changed:
What|Removed |Added
Assignee|nob...@puremagic.com
https://issues.dlang.org/show_bug.cgi?id=5995
Lucia Cojocaru changed:
What|Removed |Added
Component|druntime|dmd
--
https://issues.dlang.org/show_bug.cgi?id=5995
Lucia Cojocaru changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=5995
Andrei Alexandrescu changed:
What|Removed |Added
Keywords||bootcamp
https://issues.dlang.org/show_bug.cgi?id=5995
erict...@gmail.com changed:
What|Removed |Added
CC||erict...@gmail.com
--- Comment #13 from
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
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?
--
https://issues.dlang.org/show_bug.cgi?id=5995
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
--- Comment
https://issues.dlang.org/show_bug.cgi?id=5995
briancsch...@gmail.com changed:
What|Removed |Added
CC||briancsch...@gmail.com
--- Comment
http://d.puremagic.com/issues/show_bug.cgi?id=5995
Steven Schveighoffer schvei...@yahoo.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=5995
Jonathan M Davis jmdavisp...@gmx.com changed:
What|Removed |Added
CC|
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
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
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:
http://d.puremagic.com/issues/show_bug.cgi?id=5995
kenn...@gmail.com changed:
What|Removed |Added
CC||kenn...@gmail.com
--- Comment #1
http://d.puremagic.com/issues/show_bug.cgi?id=5995
Vladimir thecybersha...@gmail.com changed:
What|Removed |Added
CC|
26 matches
Mail list logo