[Issue 4559] Disallowing single semicolons

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4559 Infiltrator changed: What|Removed |Added CC||and...@erdani.com, |

[Issue 4558] To spot a possible bug in code that doesn't change a value

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4558 Infiltrator changed: What|Removed |Added CC||lt.infiltra...@gmail.com --- Comment #1 from In

[Issue 17486] lazy parameters can be used to hijack the pure system

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17486 --- Comment #4 from Eyal --- The solution, clearly is to treat "lazy" is mere syntactic sugar to passing delegates - thus adding syntactic support for @nogc/etc attribute annotation on "lazy" parameters - and specifying their attributes just like is

[Issue 17474] non-property being treated as a property

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17474 --- Comment #8 from Eyal --- Requiring @property on a for a=b to invoke a(b) sounds much more reasonable than the opposite. I don't see how a=b invoking a(b) when a isn't a @property is justifiable. --

[Issue 17474] non-property being treated as a property

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17474 --- Comment #6 from Tomer Filiba (weka) --- (In reply to Walter Bright from comment #4) > But I can suggest avoiding using default function arguments. Default > arguments are a good solution for adding parameters without breaking > existing code, but

[Issue 17474] non-property being treated as a property

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17474 --- Comment #7 from Tomer Filiba (weka) --- (In reply to Stefan Koch from comment #5) > I am pretty sure the last thing you want is a function to be invoked as a > setter property if it returns an Lvalue. +1 --

[Issue 17474] non-property being treated as a property

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17474 --- Comment #5 from Stefan Koch --- (In reply to Walter Bright from comment #4) > I'm not sure what the "right" semantics are, either, because each of the > behaviors can be justified. I am pretty sure the last thing you want is a function to be inv

[Issue 17474] non-property being treated as a property

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17474 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #4 from

[Issue 9287] DMD should read from stdin when an input file is "-"

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9287 --- Comment #5 from Walter Bright --- https://github.com/dlang/dmd/pull/6880 --

[Issue 9287] DMD should read from stdin when an input file is "-"

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9287 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #4 from

[Issue 17457] Named Return Value Optimization (NRVO) not done with return of constructor call

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17457 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/2fd96914cdd3fb2ddf29872b1c80415ce636916d fix Issue 17457 - Named Return Value Optimization (NRVO) not d

[Issue 17486] lazy parameters can be used to hijack the pure system

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17486 greensunn...@gmail.com changed: What|Removed |Added CC||greensunn...@gmail.com Su

[Issue 17485] bringToFront and/or upperBound slow

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17485 --- Comment #2 from hst...@quickfur.ath.cx --- More specifically, if (1) both ranges are built-in arrays, (2) they have the same element type, and (3) the back range is a single element, we can optimize this way: If front and back are disjoint: (fron

[Issue 17485] bringToFront and/or upperBound slow

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

[Issue 9287] DMD should read from stdin when an input file is "-"

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9287 hst...@quickfur.ath.cx changed: What|Removed |Added Keywords||pull --- Comment #3 from hst...@quick

[Issue 17474] non-property being treated as a property

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17474 Stefan Koch changed: What|Removed |Added CC||uplink.co...@gmail.com Assignee|nob.

[Issue 1077] writef and friends won't read/write from/to redirected std handles

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

[Issue 9287] DMD should read from stdin when an input file is "-"

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

[Issue 17487] CTFE should allow casting delegate function attributes

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17487 Eyal changed: What|Removed |Added See Also||https://issues.dlang.org/sh |

[Issue 17486] lazy parameters cannot be used in nothrow/@nogc functions

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17486 Eyal changed: What|Removed |Added See Also||https://issues.dlang.org/sh |

[Issue 17487] New: CTFE should allow casting delegate function attributes

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17487 Issue ID: 17487 Summary: CTFE should allow casting delegate function attributes Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancem

[Issue 17486] lazy parameters cannot be used in nothrow/@nogc functions

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17486 --- Comment #2 from Eyal --- Better bug reproduction: @safe: void f(ref int counter, lazy int x) pure { x(); counter++; x(); } void main() { int counter; int g() { import std.stdio:writeln; writeln("counter: ",

[Issue 17486] lazy parameters cannot be used in nothrow/@nogc functions

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17486 --- Comment #1 from Eyal --- This also breaks purity type checking: @safe: import std.stdio:writeln; void f(lazy int x) pure { x(); } unittest { int g() { writeln("impure func called by pure func!"); return 5; } au

[Issue 17486] New: lazy parameters cannot be used in nothrow/@nogc functions

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17486 Issue ID: 17486 Summary: lazy parameters cannot be used in nothrow/@nogc functions Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS:

[Issue 17485] bringToFront and/or upperBound slow

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17485 Steven Schveighoffer changed: What|Removed |Added Keywords||performance --

[Issue 17485] New: bringToFront and/or upperBound slow

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17485 Issue ID: 17485 Summary: bringToFront and/or upperBound slow Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity: enhancement Prior

[Issue 17271] dwarfeh(224) fatal error

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17271 Vladimir Panteleev changed: What|Removed |Added CC||thecybersha...@gmail.com --- Comment #1

[Issue 16615] std.process is missing functionality for child processes

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16615 Vladimir Panteleev changed: What|Removed |Added CC||thecybersha...@gmail.com Resolu

[Issue 16615] std.process is missing functionality for child processes

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16615 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/07602da6334fa250032d302c777b75d17b0e4379 Revert "Partial Fix Issue 16615 - convert os pid to std.

[Issue 16615] std.process is missing functionality for child processes

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16615 --- Comment #2 from github-bugzi...@puremagic.com --- Commit pushed to revert-5086-process_enhancement at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/07602da6334fa250032d302c777b75d17b0e4379 Revert "Partial Fix Issue 16615

[Issue 17472] [Reg 2.075] typeof(stdin) is no longer a File

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

[Issue 17472] [Reg 2.075] typeof(stdin) is no longer a File

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17472 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/3caa34f219cebaf37b75ce7384a3a40dbb87fe1e fix Issue 17472 - typeof(stdin) is no longer a File htt

[Issue 17472] [Reg 2.075] typeof(stdin) is no longer a File

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17472 --- Comment #3 from Andrei Alexandrescu --- (In reply to Martin Nowak from comment #2) > (In reply to Andrei Alexandrescu from comment #1) > > We really should get rid of library initialization > > code. > > Why did that became a goal btw? Thanks f

[Issue 17472] [Reg 2.075] typeof(stdin) is no longer a File

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17472 --- Comment #2 from Martin Nowak --- (In reply to Andrei Alexandrescu from comment #1) > We really should get rid of library initialization > code. Why did that became a goal btw? --

[Issue 7678] Add -cflags switch for DMD that allows passing flags to GCC or ${CC}

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7678 Martin Nowak changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 17390] Pass flags to linker driver without -Xlinker

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17390 Martin Nowak changed: What|Removed |Added CC||chadj...@gmail.com --- Comment #2 from Martin

[Issue 5278] gentoo's 'hardended' gcc doesn't work with dmd

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5278 Martin Nowak changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Issue 5278] gentoo's 'hardended' gcc doesn't work with dmd

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5278 Issue 5278 depends on issue 7678, which changed state. Issue 7678 Summary: Add -cflags switch for DMD that allows passing flags to GCC or ${CC} https://issues.dlang.org/show_bug.cgi?id=7678 What|Removed |Added -

[Issue 17390] Pass flags to linker driver without -Xlinker

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17390 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu --- Comment #1 from Martin Nowak

[Issue 17275] [REG 2.072.0] AssertError@declaration.d(2121): Assertion failure

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17275 --- Comment #5 from Walter Bright --- https://github.com/dlang/dmd/pull/6875 --

[Issue 17482] [REG 2.074] comile error: Comparing Nullable!Variant with basic type

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17482 Vladimir Panteleev changed: What|Removed |Added CC||thecybersha...@gmail.com --- Comment #1