[Issue 15703] @safe code should not allow certain types of array casts

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15703 Walter Bright changed: What|Removed |Added Keywords||pull --- Comment

[Issue 16424] No "DUB" component for bug reports

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16424 greensunn...@gmail.com changed: What|Removed |Added CC||greensunn...@gmail.com --- Comment

[Issue 16431] rdmd is slower than DUB

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16431 --- Comment #2 from greensunn...@gmail.com --- > I don't think this is much of a surprise. rdmd detects dependencies. dub > doesn't seem to do that. Well, it still seems unnecessary to me to run the full-blown CTFE compiler twice on a file. I gave

[Issue 15660] break "immutable" with pure function and mutable reference params

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15660 Walter Bright changed: What|Removed |Added CC|

[Issue 14238] DIP25: escape checks can be circumvented with delegate

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14238 Walter Bright changed: What|Removed |Added Keywords||pull --

[Issue 16365] cannot allow calling function pointer from delegate in @safe code

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16365 Walter Bright changed: What|Removed |Added Keywords||pull --- Comment

[Issue 16365] cannot allow calling function pointer from delegate in @safe code

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16365 --- Comment #4 from Walter Bright --- Related PR: https://github.com/dlang/dmd/pull/5860 --

[Issue 16365] cannot allow calling function pointer from delegate in @safe code

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16365 Walter Bright changed: What|Removed |Added Hardware|x86_64 |All See

[Issue 11176] array.ptr in @safe code may point past end of array

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11176 Walter Bright changed: What|Removed |Added See Also|

[Issue 16431] rdmd is slower than DUB

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16431 ag0ae...@gmail.com changed: What|Removed |Added CC||ag0ae...@gmail.com --- Comment #1 from

[Issue 16431] New: rdmd is slower than DUB

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16431 Issue ID: 16431 Summary: rdmd is slower than DUB Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1

[Issue 16365] cannot allow calling function pointer from delegate in @safe code

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16365 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/3eece2fe875d35db428229b1121eda13e85b3883 partial solution for Issue 16365 - cannot allow calling

[Issue 5172] ModuleInfo's flags not correct WRT class static ctor/dtor when compiled with -lib

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5172 Steven Schveighoffer changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 16430] Show a warning when a semicolon is used after a struct or enum definition

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16430 --- Comment #4 from ag0ae...@gmail.com --- (In reply to Steven Schveighoffer from comment #3) > (In reply to ag0aep6g from comment #2) > > I'd suggest warning on every empty DeclDef and not only on those behind > > structs/enums. > > for(;;)

[Issue 16430] Show a warning when a semicolon is used after a struct or enum definition

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16430 Steven Schveighoffer changed: What|Removed |Added CC|

[Issue 16430] Show a warning when a semicolon is used after a struct or enum definition

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16430 ag0ae...@gmail.com changed: What|Removed |Added CC||ag0ae...@gmail.com --- Comment #2 from

[Issue 16430] Show a warning when a semicolon is used after a struct or enum definition

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16430 b2.t...@gmx.com changed: What|Removed |Added CC||b2.t...@gmx.com --- Comment #1 from

[Issue 16430] New: Show a warning when a semicolon is used after a struct or enum definition

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16430 Issue ID: 16430 Summary: Show a warning when a semicolon is used after a struct or enum definition Product: D Version: D2 Hardware: x86_64 OS: Linux

[Issue 16428] Better error message for pattern matching of value template parameters

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16428 Andrei Alexandrescu changed: What|Removed |Added Summary|Cannot pattern match value |Better error

[Issue 16428] Better error message for pattern matching of value template parameters

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16428 --- Comment #3 from Andrei Alexandrescu --- The error message should be better. Currently: static assert(is(A!(int, 42) == A!(T, x), __isexp_id52, T, x)) is false Proposed: static assert(is(A!(int, 42) == A!(T, x), T, x)) is

[Issue 16429] New: Sorted multimap data structure based on std.container.rbtree

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16429 Issue ID: 16429 Summary: Sorted multimap data structure based on std.container.rbtree Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW

[Issue 16428] Cannot pattern match value template parameter

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16428 John Colvin changed: What|Removed |Added CC|

[Issue 16428] New: Cannot pattern match value template parameter

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16428 Issue ID: 16428 Summary: Cannot pattern match value template parameter Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal

[Issue 16291] phobosinit fails to register encodings on individual tests

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16291 --- Comment #27 from Steven Schveighoffer --- (In reply to Sobirari Muhomori from comment #26) > So all this is because encoding is a part of an unknown module cycle? It's a known module cycle (cycle is printed when it's

[Issue 16427] alias to typecons.Rebindable depends on lexical order

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16427 ag0ae...@gmail.com changed: What|Removed |Added Keywords||rejects-valid CC|

[Issue 16227] std.numeric unit tests fail when run in isolation

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16227 --- Comment #4 from greensunn...@gmail.com --- Just for completeness this also affects std.algorithm.sorting and has been reported by Andrei in the NG: http://forum.dlang.org/post/nol5h2$lj$1...@digitalmars.com And a bit later by John:

[Issue 16427] New: alias to typecons.Rebindable depends on lexical order

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16427 Issue ID: 16427 Summary: alias to typecons.Rebindable depends on lexical order Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal

[Issue 15996] @safe allows escaping of ptrs to variables going out of scope

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15996 --- Comment #4 from Walter Bright --- (In reply to Walter Bright from comment #3) > The attachment: > --- > > safe: > > import std.stdio; > > struct T { int y; } > > auto foo() { > auto t =

[Issue 5270] Using a scope delegate allows memory corruption in safe mode

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5270 Walter Bright changed: What|Removed |Added Keywords||pull --- Comment

[Issue 5270] Using a scope delegate allows memory corruption in safe mode

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5270 --- Comment #7 from Walter Bright --- (In reply to timon.gehr from comment #2) > The issue is that "it compiles and runs without error". (the second > assertion asserts that there is memory corruption) The compiler has to >

[Issue 5270] Using a scope delegate allows memory corruption in safe mode

2016-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5270 --- Comment #6 from Walter Bright --- (In reply to hsteoh from comment #4) > Another failing case that illustrates the problem: > -- > int delegate() globDg; > > void func(scope int delegate() dg) { > globDg =