[Issue 17959] [DIP1000] Can store scope delegate in non-scope member

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17959 Walter Bright changed: What|Removed |Added CC|

[Issue 18024] checkedint.Abort should be @safe

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18024 Seb changed: What|Removed |Added Summary|checkedint.Warn should be |checkedint.Abort should be

[Issue 15653] IFTI fails for immutable parameter

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15653 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 15653] IFTI fails for immutable parameter

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15653 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/d68e181bda060f8e61253620695a3aadf0ad1093 Fix issue 15653 - IFTI fails for immutable parameter

[Issue 17449] [DIP1000] crash due to covariant conversion of scope delegate to delegate

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17449 ag0ae...@gmail.com changed: What|Removed |Added CC||ag0ae...@gmail.com --- Comment #9 from

[Issue 17449] [DIP1000] crash due to covariant conversion of scope delegate to delegate

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17449 Rainer Schuetze changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 17932] [scope] __traits(compiles, stmt) cannot test scope violations

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17932 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 17448] Move semantics cause memory corruption and cryptic bugs

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17448 --- Comment #35 from Walter Bright --- (In reply to Shachar Shemesh from comment #33) > You cannot be notified when the object > moves, and once it does, the global linked list will get completely > corrupted. That is

[Issue 17449] [DIP1000] crash due to covariant conversion of scope delegate to delegate

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17449 Walter Bright changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 17961] std.uni does not compile with -unittest -dip1000

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17961 Carsten Blüggel changed: What|Removed |Added Blocks||18585 Referenced

[Issue 18585] Linker error if compiled with -dip1000

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18585 Carsten Blüggel changed: What|Removed |Added Keywords||rejects-valid, safe

[Issue 17449] [DIP1000] crash due to covariant conversion of scope delegate to delegate

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17449 --- Comment #5 from Rainer Schuetze --- > This is because 'scope' for delegates now means something with dip1000, it > means the delegate must not escape. There is no "scope" in the test cases. I suspect it is falsely

[Issue 17423] pointer assignment to `this` in member function is not accounted for

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17423 --- Comment #8 from Walter Bright --- (In reply to Walter Bright from comment #7) > https://github.com/dlang/dmd/pull/7999 For this to work, -dip1000 must be used. --

[Issue 18282] [Scope][DIP1000]Assignment of local variable to `scope` variable not recognized by compiler

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18282 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18593] New: std.datetime.stopwatch.benchmark shouldn't optimize away its functions

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18593 Issue ID: 18593 Summary: std.datetime.stopwatch.benchmark shouldn't optimize away its functions Product: D Version: D2 Hardware: All OS: All Status:

[Issue 17764] [scope][DIP1000] Escape checker defeated by composition transformations

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17764 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18594] constant 1 is not an lvalue should have a better error message

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18594 --- Comment #1 from Seb --- (PR incoming) --

[Issue 18594] New: constant 1 is not an lvalue should have a better error message

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18594 Issue ID: 18594 Summary: constant 1 is not an lvalue should have a better error message Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 17449] [DIP1000] crash due to covariant conversion of scope delegate to delegate

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17449 Rainer Schuetze changed: What|Removed |Added Resolution|WORKSFORME |FIXED --- Comment #8

[Issue 18594] X is not an lvalue should have a better error message

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18594 Seb changed: What|Removed |Added Summary|constant 1 is not an lvalue |X is not an lvalue should

[Issue 17449] [DIP1000] crash due to covariant conversion of scope delegate to delegate

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17449 --- Comment #6 from Rainer Schuetze --- > Adding more @safe Makes it compile and run successfully. Your safe code also fails with -dip1000. (tried on Windows/OMF). --

[Issue 17512] [REG 2.073] [DIP1000] Error on bad interplay of 'auto ref' and 'return' attribute deduction.

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17512 --- Comment #5 from Walter Bright --- https://github.com/dlang/dmd/pull/8001 --

[Issue 17449] [DIP1000] crash due to covariant conversion of scope delegate to delegate

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17449 --- Comment #11 from Rainer Schuetze --- BTW: AFAIK -dip1000 is only supposed to affect @safe code, but there is no @safe in the original test cases. --

[Issue 18592] New: Associative array assignment with a destructor should be @safe if the destructor is @safe

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18592 Issue ID: 18592 Summary: Associative array assignment with a destructor should be @safe if the destructor is @safe Product: D Version: D2 Hardware: All OS: All

[Issue 18592] Associative array assignment with a destructor should be @safe if the destructor is @safe

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18592 Seb changed: What|Removed |Added Keywords||safe --

[Issue 18000] [scope] auto-generated opAssign not scope aware

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18000 --- Comment #1 from Walter Bright --- Attributes are inferred for the generated opAssign, the result looks like: @nogc ref return @trusted File opAssign(File p) Not sure why scope is not inferred. In any case, the

[Issue 18519] freebsd 11 + phobos + curl, timing out

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18519 Seb changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 18591] DMD should allow access to mixin template declarations

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18591 --- Comment #1 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/786bdb338a64fa52b24ab515edf6706b259447de Fix Issue 18591 - Allow getting type from template

[Issue 18591] New: DMD should allow access to mixin template declarations

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18591 Issue ID: 18591 Summary: DMD should allow access to mixin template declarations Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

[Issue 18547] Win32: throwing exception in fiber crashes application

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18547 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/a1a5ad8d70464534228839ad8f1f2a7938cb9524 fix issue 18547 - Win32: throwing exception in

[Issue 18547] Win32: throwing exception in fiber crashes application

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18547 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18519] freebsd 11 + phobos + curl, timing out

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18519 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/b8e5bca94b661c1d1ffb9ec6f7e37b9fa7a0d09d fix issue 18519 freebsd 11 + phobos + curl, timing out

[Issue 18537] Cannot pass absolute path to coverage options

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18537 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/feb6e9b2f035f2b564765120e6fb794abfd53622 fix Issue 18537 - Cannot pass absolute path to

[Issue 18590] New: nothrow constructor call still type-checks destructor for purity

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18590 Issue ID: 18590 Summary: nothrow constructor call still type-checks destructor for purity Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 17819] static foreach segfaults on __traits(allMembers)

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17819 bitter.ta...@gmx.com changed: What|Removed |Added CC||bitter.ta...@gmx.com --- Comment #3

[Issue 18549] name gets overwritten in template definition

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18549 Johannes Nordhoff changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 18158] std.file.getcwd should be usable in @safe

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18158 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/767d1c51d4ae2e24c9d1752db4c1f1b881a3b658 Fix Issue 18158 - std.file.getcwd should be usable in

[Issue 18126] [internal] Reduce number of turned off warnings.

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18126 Iain Buclaw changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18110] most of phobos should be @safe-ly useable

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18110 Issue 18110 depends on issue 18158, which changed state. Issue 18158 Summary: std.file.getcwd should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18158 What|Removed |Added

[Issue 18178] std.path should be usable in @safe

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18178 Issue 18178 depends on issue 18158, which changed state. Issue 18158 Summary: std.file.getcwd should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18158 What|Removed |Added

[Issue 18158] std.file.getcwd should be usable in @safe

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18158 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18549] name gets overwritten in template definition

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18549 Johannes Nordhoff changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 18182] std.uri should be usable in @safe

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18182 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/9d44d7c13fc312bc39669df441f8b931789471c1 Fix Issue 18182 - std.uri should be usable in @safe

[Issue 18182] std.uri should be usable in @safe

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18182 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18110] most of phobos should be @safe-ly useable

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18110 Issue 18110 depends on issue 18182, which changed state. Issue 18182 Summary: std.uri should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18182 What|Removed |Added

[Issue 17448] Move semantics cause memory corruption and cryptic bugs

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17448 --- Comment #34 from Eyal --- Walter: Thanks, the RVO fixes are very useful and important - and will be part of any future solution we have! --

[Issue 18133] BitArray constructors are poorly documented.

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18133 --- Comment #4 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/3609d7233414fbd8a9d0c21313be21aff02d6829 Merge pull request #6112 from byebye/issue_18133 Fix

[Issue 18591] DMD should allow access to mixin template declarations

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18591 Simen Kjaeraas changed: What|Removed |Added CC|

[Issue 17448] Move semantics cause memory corruption and cryptic bugs

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17448 --- Comment #33 from Shachar Shemesh --- Like we said earlier, the safe implications are important, but are not the core of this bug report. The problem is that, as things stand with D, certain types of programming become

[Issue 17449] [DIP1000] crash due to covariant conversion of scope delegate to delegate

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17449 --- Comment #4 from Walter Bright --- (In reply to Rainer Schuetze from comment #3) > Are you saying that it is ok that adding -dip1000 can change code gen so > that it crashes? Yes. This is because 'scope' for delegates

[Issue 18589] New: Windows header files: bcrypt and ncrypt

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18589 Issue ID: 18589 Summary: Windows header files: bcrypt and ncrypt Product: D Version: D2 Hardware: All OS: Windows Status: NEW Severity: enhancement

[Issue 17512] [REG 2.073] [DIP1000] Error on bad interplay of 'auto ref' and 'return' attribute deduction.

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17512 Walter Bright changed: What|Removed |Added CC|

[Issue 17448] Move semantics cause memory corruption and cryptic bugs

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17448 --- Comment #32 from Walter Bright --- I filed two bug reports based on Tomer's work: https://issues.dlang.org/show_bug.cgi?id=18575 https://issues.dlang.org/show_bug.cgi?id=18576 which have PRs:

[Issue 17423] pointer assignment to `this` in member function is not accounted for

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17423 Walter Bright changed: What|Removed |Added Summary|@safe code seg faults |pointer assignment

[Issue 17423] pointer assignment to `this` in member function is not accounted for

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17423 --- Comment #6 from Walter Bright --- The opApply is actually working correctly. The bug is that the dlg parameter was incorrectly inferred as `scope`. --

[Issue 17423] pointer assignment to `this` in member function is not accounted for

2018-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17423 --- Comment #7 from Walter Bright --- https://github.com/dlang/dmd/pull/7999 --