Bug 2685 – Implicit string literal concatenation

Status
RESOLVED
Resolution
DUPLICATE
Severity
enhancement
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2009-02-24T03:31:00Z
Last change time
2015-06-09T01:21:08Z
Keywords
spec
Assigned to
nobody
Creator
dfj1esp02

Comments

Comment #0 by dfj1esp02 — 2009-02-24T03:31:54Z
Find the bug: static string[] KEYWORDS = [ "abstract", "alias", "align", "asm", "assert", "auto", "body", "bool", "break", "byte", "case", "cast", "catch", "cdouble", "cent", "cfloat", "char", "class", "const", "continue", "creal", "dchar", "debug", "default", "delegate", "delete", "deprecated", "do", "double", "else", "enum", "export", "extern", "false", "final", "finally", "float", "for", "foreach", "foreach_reverse", "function", "goto", "idouble", "if", "ifloat", "import", "in", "inout", "int", "interface", "invariant", "ireal", "is", "lazy", "long", "mixin", "module", "new", "null", "out", "override", "package", "pragma", "private", "private:", "protected", "protected:", "public", "public:", "real", "return", "scope", "short", "static", "struct", "super", "switch", "synchronized", "template", "this", "throw", "true", "try", "typedef", "typeid", "typeof", "ubyte", "ucent", "uint" "ulong", "union", "unittest", "ushort", "version", "void", "volatile", "wchar", "while", "with", "~this" ];
Comment #1 by matti.niemenmaa+dbugzilla — 2009-02-24T11:35:07Z
This is an enhancement request, not a bug. Marking as such. (The bug in the code is a missing comma after "uint".)
Comment #2 by yebblies — 2014-01-19T19:56:08Z
*** Issue 3827 has been marked as a duplicate of this issue. ***
Comment #3 by bearophile_hugs — 2014-01-20T03:18:51Z
(In reply to comment #2) > *** Issue 3827 has been marked as a duplicate of this issue. *** Most of the discussion and 9 votes are in the issue 3827. In such cases it's better to close the less discussed issue, even if it's older.
Comment #4 by bearophile_hugs — 2014-01-20T03:31:20Z
*** This issue has been marked as a duplicate of issue 3827 ***
Comment #5 by yebblies — 2014-01-20T04:08:58Z
(In reply to comment #3) > Most of the discussion and 9 votes are in the issue 3827. In such cases it's > better to close the less discussed issue, even if it's older. And this one is older, has a better title, and is correctly marked as an enhancement. I think we both know votes don't mean anything.
Comment #6 by bearophile_hugs — 2014-01-20T04:31:07Z
(In reply to comment #5) > And this one is older, has a better title, and is correctly marked as an > enhancement. Right. Now I have changed the title of issue 3827 and its Importance level.