[Issue 15384] New: assignment is sometimes still accepted as a condition
https://issues.dlang.org/show_bug.cgi?id=15384 Issue ID: 15384 Summary: assignment is sometimes still accepted as a condition Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status: NEW Severity: minor Priority: P3 Component: dmd Assignee: nob...@puremagic.com Reporter: eponymousal...@yahoo.com Problem seen with: DMD64 D Compiler v2.067.1 bool cond = true; do { // stuff } while (cond = false); yields: Error: assignment cannot be used as a condition, perhaps == was meant? But: bool cond = true; do { // stuff } while (cond = false, cond = false); passes the compiler without complaint, even though it also uses an assignment as a condition. --
[Issue 8824] std.container.Array fails to instantiate Array!char
https://issues.dlang.org/show_bug.cgi?id=8824 bb.t...@gmx.com changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC||bb.t...@gmx.com Resolution|--- |FIXED --- Comment #2 from bb.t...@gmx.com --- I guess you forgot to close. --
[Issue 4935] std.bitmanip: bitfields!() template with trailing unnamed field does not work
https://issues.dlang.org/show_bug.cgi?id=4935 bb.t...@gmx.com changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC||bb.t...@gmx.com Resolution|--- |FIXED --
[Issue 12544] Differences in ubyte/char enum printing
https://issues.dlang.org/show_bug.cgi?id=12544 bb.t...@gmx.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bb.t...@gmx.com Resolution|--- |FIXED --- Comment #2 from bb.t...@gmx.com --- ok now 2.069 --
[Issue 8260] * used three or more times on an array inside std.format.formattedRead and not guarded by template constraint
https://issues.dlang.org/show_bug.cgi?id=8260 --- Comment #3 from bb.t...@gmx.com --- *** Issue 12450 has been marked as a duplicate of this issue. *** --
[Issue 12450] Deprecated code in std.stdio.readf
https://issues.dlang.org/show_bug.cgi?id=12450 bb.t...@gmx.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bb.t...@gmx.com Resolution|--- |DUPLICATE --- Comment #2 from bb.t...@gmx.com --- You've already reported it ^^ *** This issue has been marked as a duplicate of issue 8260 *** --
[Issue 12112] buildNormalizedPath compile error for wstring and dstring
https://issues.dlang.org/show_bug.cgi?id=12112 bb.t...@gmx.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bb.t...@gmx.com Resolution|--- |FIXED --- Comment #1 from bb.t...@gmx.com --- not anymore --
[Issue 12003] std\zip.d(421): Deprecation
https://issues.dlang.org/show_bug.cgi?id=12003 bb.t...@gmx.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bb.t...@gmx.com Resolution|--- |FIXED --- Comment #2 from bb.t...@gmx.com --- auto close failure: https://github.com/D-Programming-Language/phobos/pull/1885 --
[Issue 11995] std.File.ByLine strips trailing empty line
https://issues.dlang.org/show_bug.cgi?id=11995 bb.t...@gmx.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bb.t...@gmx.com Resolution|--- |INVALID --- Comment #5 from bb.t...@gmx.com --- No, you forgot that the \n is part of the line: your file is filled with: "line 1\nline 2\n\n\n" you expect byLine to output: ["line 1", "line 2", "", "", ""] but "line 1\nline 2\n\n\n" contains **four** lines, not five: line1\n line2\n \n \n --
[Issue 11702] std.string.splitLines to immutable result
https://issues.dlang.org/show_bug.cgi?id=11702 bb.t...@gmx.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bb.t...@gmx.com Resolution|--- |FIXED --
[Issue 11524] str.strip being shadowed by std.algorithm.strip
https://issues.dlang.org/show_bug.cgi?id=11524 bb.t...@gmx.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bb.t...@gmx.com Resolution|--- |INVALID --- Comment #1 from bb.t...@gmx.com --- This is not a bug, see: http://dlang.org/module.html partcularly this specification about scoped imports: > The imports are looked up to satisfy any unresolved symbols at that scope. > Imported symbols may hide symbols from outer scopes. which means that in case of conflict, scoped imports win. --
[Issue 11338] std.uri URIerror should be an Exception
https://issues.dlang.org/show_bug.cgi?id=11338 bb.t...@gmx.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bb.t...@gmx.com Resolution|--- |FIXED --- Comment #2 from bb.t...@gmx.com --- auto close failure: https://github.com/D-Programming-Language/phobos/pull/1659 --
[Issue 10956] std.getopt error on wrongly position arguments should improve
https://issues.dlang.org/show_bug.cgi?id=10956 bb.t...@gmx.com changed: What|Removed |Added CC||bb.t...@gmx.com --- Comment #1 from bb.t...@gmx.com --- diagnostic has changed but still bad. The variadic args in getoptImplmust be string, odd index: must be pointer. --