[Issue 17138] Warn about superfluous "with" statements

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17138 --- Comment #5 from Eyal --- Another case that is beneficial and should not be an error: If the expression results in an object that scopes over the block and has a destructor. Example: with(someMutex.acquired) { // No use of

[Issue 17138] Warn about superfluous "with" statements

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17138 --- Comment #4 from Eyal --- Yes, that would be great. --

[Issue 13186] core/sys/posix/sys/uio.d is not linked into the standard lib

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

[Issue 13186] core/sys/posix/sys/uio.d is not linked into the standard lib

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13186 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/11ac522f4386fb02dbf0d601a1b36e3180c826bb fix Issue 13186 - core/sys/posix/sys/uio.d is not

[Issue 17396] Add colorized syntax highlighting to error messages emitted by dmd

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17396 --- Comment #1 from Walter Bright --- https://github.com/dlang/dmd/pull/6777 --

[Issue 13331] naked asm functions are broken when compiling with -profile

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13331 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/c6db9b7d55ea9b533d584cd1da7d4fdb873fccd8 fix Issue 13331 - naked asm functions are broken when

[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17289 Zach the Mystic changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 16657] alias this interacts with generated opCmp and opEquals

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16657 --- Comment #3 from Andrei Alexandrescu --- It seems a case can be made for either behavior. * The "alias this" feature emulates subtyping of the kind typically achieved by class inheritance. If that is the default behavior to

[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17289 --- Comment #9 from Jon Degenhardt --- (In reply to Zach the Mystic from comment #8) > I believe this counts as a regression and should be patched to the main > website ASAP. It's fixed on master. But I believe anyone

[Issue 17396] Add colorized syntax highlighting to error messages emitted by dmd

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17396 Walter Bright changed: What|Removed |Added Summary|Colorize error messages |Add colorized

[Issue 12273] 'dmd -color' flag to colorize error/warning messages

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12273 Walter Bright changed: What|Removed |Added See Also|

[Issue 17396] Colorize error messages emitted by dmd

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17396 Walter Bright changed: What|Removed |Added See Also|

[Issue 17396] New: Colorize error messages emitted by dmd

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17396 Issue ID: 17396 Summary: Colorize error messages emitted by dmd Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

[Issue 16302] Add opStaticIndex that takes compile-time indices

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16302 --- Comment #7 from Steven Schveighoffer --- (In reply to Yuxuan Shui from comment #6) > I want to suggest we just reuse opIndex. If opIndex is defined as a > template, the static semantic is used. This is a good idea. s[arg1,

[Issue 17156] Local function declaration not inferred to be static

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17156 --- Comment #3 from Walter Bright --- (In reply to Eyal from comment #2) > I see, but this would not be a problem if function was automatically > convertible to delegate (std.functional : toDelegate). > > Is there any

[Issue 17138] Warn about superfluous "with" statements

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17138 --- Comment #3 from Walter Bright --- Are you suggesting: --- struct S { int field; } void foo(S s) { with (s) // no error ++field; with (s) // error ++s.field; } --- ? --

[Issue 16657] alias this interacts with generated opCmp and opEquals

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16657 Walter Bright changed: What|Removed |Added CC|

[Issue 16551] Compile-time delegate parameters should allow "scope"

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16551 Walter Bright changed: What|Removed |Added CC|

[Issue 16053] SysTime.fromIsoExtString don't work if nanoseconds are presented

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16053 --- Comment #2 from Jonathan M Davis --- https://github.com/dlang/phobos/pull/5389 --

[Issue 16540] Attributes do not propagate correctly in lazy params

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16540 --- Comment #2 from Walter Bright --- Added test case to ensure it keeps working: https://github.com/dlang/dmd/pull/6776 --

[Issue 16540] Attributes do not propagate correctly in lazy params

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16540 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 16538] Parameter head-const-ness shouldn't matter but does

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16538 Walter Bright changed: What|Removed |Added CC|

[Issue 17391] SECURITY: XSS through DDOC comments

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

[Issue 17391] SECURITY: XSS through DDOC comments

2017-05-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17391 --- Comment #8 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/4d69c1abd487319f274b11a44b833e165c57946d Fix Issue 17391 - SECURITY: XSS through DDOC