[Issue 6766] Forward reference error for default struct/class arguments

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6766 --- Comment #4 from Kenji Hara --- *** Issue 9397 has been marked as a duplicate of this issue. *** --

[Issue 12420] [AA] Can't set associative array with array as key value using key type

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12420 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu --- Comment #7 from Martin Nowak

[Issue 340] [Tracker] Forward reference bugs and other order-of-declaration issues

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=340 Issue 340 depends on issue 9397, which changed state. Issue 9397 Summary: Size error with struct with ctor and self-typed nested enum https://issues.dlang.org/show_bug.cgi?id=9397 What|Removed |Added -

[Issue 12420] [AA] Can't set associative array with array as key value using key type

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12420 --- Comment #8 from Kenji Hara --- (In reply to Martin Nowak from comment #7) > So what's the conclusion here? Denis argues that mutable key char[] should be allowed for the AA indexing. But AA key should be const on indexing, and should be immutabl

[Issue 12420] [AA] Can't set associative array with array as key value using key type

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12420 --- Comment #9 from Denis Shelomovskij --- (In reply to Kenji Hara from comment #8) > (In reply to Martin Nowak from comment #7) > > So what's the conclusion here? > > Denis argues that mutable key char[] should be allowed for the AA indexing. > But

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 Ali Cehreli changed: What|Removed |Added CC||acehr...@yahoo.com --- Comment #13 from Ali Ce

[Issue 14270] New: final interface: attribute is ignored

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14270 Issue ID: 14270 Summary: final interface: attribute is ignored Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: minor Priority: P

[Issue 14267] [REG2.067beta2] ICE when determining if a function can be inlined

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14267 --- Comment #3 from github-bugzi...@puremagic.com --- Commit pushed to 2.067 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c29d893a456a9dfee532c2b0a5f6615b3dbc080f Merge pull request #4471 from

[Issue 14280] New: Links to command line tools have disappeared from navigation

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14280 Issue ID: 14280 Summary: Links to command line tools have disappeared from navigation Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 14277] New: Compile-time array casting error - ugly error report

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14277 Issue ID: 14277 Summary: Compile-time array casting error - ugly error report Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: enhancem

[Issue 14275] Qualified package protection for aggregate member doesn't work

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14275 --- Comment #5 from github-bugzi...@puremagic.com --- Commit pushed to 2.067 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a44e09d3d16b7c23e540bce8be5dffde2dfa17fa Merge pull request #4476 from

[Issue 13649] uniform01 Assertion failure

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13649 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/c561951994e04293041906ee468b502806680e20 Fix Issue 13649 - unif

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #21 from Steven Schveighoffer --- (In reply to Ali Cehreli from comment #18) > I think this boils down to whether an enum's conversion to its base type is > an implicit cast (an rvalue), versus the enum itself (an lvalue). (Steven > says

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #22 from Jonathan M Davis --- I think that allowing an implicit conversion to be used with a ref parameter is a clear violation of the type system. If we want to fix it via deprecation rather than immediately making it an error like we'd

[Issue 14135] std.uuid.randomUUID breaks @safety

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14135 --- Comment #3 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/9010ecd4b0942e0eb0c37c073d4d53f1984f7872 Merge pull request #297

[Issue 14135] std.uuid.randomUUID breaks @safety

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14135 monarchdo...@gmail.com changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #23 from Dicebot --- (In reply to Jonathan M Davis from comment #22) > I think that allowing an implicit conversion to be used with a ref parameter > is a clear violation of the type system. If we want to fix it via > deprecation rather t

[Issue 14277] Compile-time array casting error - ugly error report

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14277 --- Comment #2 from Ketmar Dark --- Created attachment 1491 --> https://issues.dlang.org/attachment.cgi?id=1491&action=edit trim output of long expressions as far as i know, `Expression::toChars()` is not using in anything vital, only in diagnosti

[Issue 14277] Compile-time array casting error - ugly error report

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14277 --- Comment #3 from Ketmar Dark --- p.s. this can ruing long utf-8 literals, though. not that i really care. --

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #24 from Steven Schveighoffer --- (In reply to Jonathan M Davis from comment #22) > I think that allowing an implicit conversion to be used with a ref parameter > is a clear violation of the type system. class C {} void foo(Object o);

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #26 from Ketmar Dark --- class C {} void foo (Object o) { o = new Object(); } void main () { C c = new C; auto n = c; foo(c); assert(c == n); // assertion passed } --

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #27 from Ketmar Dark --- ah, sorry, replace that assert with `assert(c is n);` for clarity. --

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 Ketmar Dark changed: What|Removed |Added CC||ket...@ketmar.no-ip.org --- Comment #25 from K

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #28 from Steven Schveighoffer --- The Object contents are passed by ref, just like the enum contents are. The difference is that the ref is implicit for the object. In other words, a ref to a C object is implicitly passable as a ref to a

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #29 from Jonathan M Davis --- (In reply to Steven Schveighoffer from comment #24) > (In reply to Jonathan M Davis from comment #22) > > I think that allowing an implicit conversion to be used with a ref parameter > > is a clear violation

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #30 from Andrei Alexandrescu --- This is a simple "accepts-wrong-code" bug that needs to be fixed with no deprecation. Any code that relies on this bug was wrong. --

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #31 from Steven Schveighoffer --- (In reply to Andrei Alexandrescu from comment #30) > This is a simple "accepts-wrong-code" bug that needs to be fixed with no > deprecation. Any code that relies on this bug was wrong. I don't know if th

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #32 from Andrei Alexandrescu --- (In reply to Steven Schveighoffer from comment #31) > (In reply to Andrei Alexandrescu from comment #30) > > This is a simple "accepts-wrong-code" bug that needs to be fixed with no > > deprecation. Any co

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 Steven Schveighoffer changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 7067] std.random.RandomSample and RandomCover are poorly designed

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7067 --- Comment #23 from Joseph Rushton Wakeling --- @Martin @Jens: sorry for radio silence on this. It's a busy period, and I recently moved to a new apartment where I still don't have home internet. > I don't think that sharing rng state among multipl

[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #34 from Walter Bright --- Here's the change that did it: https://github.com/D-Programming-Language/dmd/pull/4177/files Essentially, it's the removal of the toBasetype() call. The problem with deprecating rather than erroring is this f

[Issue 14279] [REG:git-head]Failed to make dmd because of idgen : HOST_DC missing

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14279 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #1 from

[Issue 14279] [REG:git-head]Failed to make dmd because of idgen : HOST_DC missing

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14279 yebblies changed: What|Removed |Added CC||yebbl...@gmail.com --- Comment #2 from yebblies