[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 acehr...@yahoo.com changed: What|Removed |Added CC||acehr...@yahoo.com ---

[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 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 verylonglogin@gmail.com --- (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

[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:

[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:

[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

[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 #34 from Walter Bright bugzi...@digitalmars.com --- 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

[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 bugzi...@digitalmars.com changed: What|Removed |Added CC|

[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 pub...@dicebot.lv --- (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

[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 ket...@ketmar.no-ip.org --- Created attachment 1491 -- https://issues.dlang.org/attachment.cgi?id=1491action=edit trim output of long expressions as far as i know, `Expression::toChars()` is not using in anything

[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 ket...@ketmar.no-ip.org --- 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 #31 from Steven Schveighoffer schvei...@yahoo.com --- (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

[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 schvei...@yahoo.com changed: What|Removed |Added Status|NEW |RESOLVED

[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 and...@erdani.com --- (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

[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 schvei...@yahoo.com --- (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 {}

[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 ket...@ketmar.no-ip.org --- 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 #28 from Steven Schveighoffer schvei...@yahoo.com --- 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

[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 ket...@ketmar.no-ip.org --- 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 ket...@ketmar.no-ip.org changed: What|Removed |Added CC||ket...@ketmar.no-ip.org

[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 and...@erdani.com --- 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 #29 from Jonathan M Davis issues.dl...@jmdavisprog.com --- (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

[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 joseph.wakel...@webdrake.net --- @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

[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 schvei...@yahoo.com --- (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

[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 issues.dl...@jmdavisprog.com --- 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

[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 -

[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 k.hara...@gmail.com --- *** 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 c...@dawg.eu changed: What|Removed |Added CC||c...@dawg.eu --- Comment #7 from

[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 k.hara...@gmail.com --- (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