[Issue 12664] New: @nogc for lazy arguments too

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12664 Issue ID: 12664 Summary: @nogc for lazy arguments too Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Keywords: rejects-valid Severity:

[Issue 12642] Avoid some heap allocation cases for fixed-size arrays

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12642 --- Comment #3 from bearophile_h...@eml.cc --- Another comment by Timon Gehr: The front end already distinguishes dynamic and static array literals (in a limited form), this distinction should simply carry through to code generation and static

[Issue 12664] @nogc for lazy arguments too

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12664 Sobirari Muhomori dfj1es...@sneakemail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 12664] @nogc for lazy arguments too

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12664 --- Comment #2 from bearophile_h...@eml.cc --- (In reply to Sobirari Muhomori from comment #1) The third example can't infer attributes because it doesn't create the delegate, and can't accept arbitrary type info because it's not templated. Thank

[Issue 12664] @nogc for lazy arguments too

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12664 --- Comment #3 from bearophile_h...@eml.cc --- (In reply to bearophile_hugs from comment #2) void foo(T)(lazy @nogc x) @nogc { auto r = x(); } void main() { foo(1); } Sorry, I meant to write: void foo(lazy @nogc x) @nogc { --

[Issue 12664] @nogc for lazy arguments too

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12664 --- Comment #4 from Sobirari Muhomori dfj1es...@sneakemail.com --- Yes, annotation could do the trick. --

[Issue 12665] New: Cannot create enum of struct within the struct, if the struct has a constructor (cannot create a struct until its size is determined)

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12665 Issue ID: 12665 Summary: Cannot create enum of struct within the struct, if the struct has a constructor (cannot create a struct until its size is determined) Product: D

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

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=340 Stewart Gordon s...@iname.com changed: What|Removed |Added Depends on||12665 --

[Issue 12661] [REG2.066a] std.regex with -debug causes linker errors

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12661 j...@red.email.ne.jp changed: What|Removed |Added Keywords||link-failure --- Comment #4 from

[Issue 12661] [REG2.066a] std.regex with -debug causes linker errors

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12661 --- Comment #5 from j...@red.email.ne.jp --- Finally, I found that std.range.SortedRange.this() breaks the nothrow-ability. It holds a number of debug statements and some of them may throw. Therefore, attributes don't match when -debug added. But I

[Issue 12665] Cannot create enum of struct within the struct, if the struct has a constructor (cannot create a struct until its size is determined)

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12665 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 10661] Add secureZeroMemory function in Phobos

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10661 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 11011] core.time.Duration has example code which cannot compile

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11011 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Keywords||pull

[Issue 10661] Add secureZeroMemory function in Phobos

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10661 --- Comment #3 from bearophile_h...@eml.cc --- (In reply to Walter Bright from comment #2) So who wants to implement it? How do you like to implement it? As a special case, or introducing some kind of generic and reusable annotation, like

[Issue 12666] New: @nogc std.array.front, popFront, and more

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12666 Issue ID: 12666 Summary: @nogc std.array.front, popFront, and more Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Keywords: rejects-valid

[Issue 12666] @nogc std.array.front, popFront, and more

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12666 --- Comment #1 from bearophile_h...@eml.cc --- (In reply to bearophile_hugs from comment #0) enum msg = Attempting to fetch the front of an empty array of ~ T.stringof; assert(a.length, msg); A little shorter code, that requires less

[Issue 11162] Cannot use implicit ctor call with enum members

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11162 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 11093] Can't compile DMD with VS12

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11093 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 11094] Disuniform error messages with overloaded + and ^ operators

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11094 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 11093] Can't compile DMD with VS12

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11093 --- Comment #4 from Vladimir Panteleev thecybersha...@gmail.com --- I can't reproduce this problem. This was either fixed since the issue was reported, or it was never broken. I don't understand why you advocate removing an entire optimized variant

[Issue 11079] Attributes for template functions should be visible when used with traits

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11079 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 11694] std.traits.SetFunctionAttributes does not conserve constness

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11694 Issue 11694 depends on issue 12653, which changed state. Issue 12653 Summary: Add the getFunctionAttributes trait https://issues.dlang.org/show_bug.cgi?id=12653 What|Removed |Added

[Issue 12653] Add the getFunctionAttributes trait

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12653 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/989b73fc2d4f93be0cf5ed19fdfb060629fa49eb Fix Issue 12653 - Implement

[Issue 12651] TemplateArgsOf accepts nonsensical arguments

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12651 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 12651] TemplateArgsOf accepts nonsensical arguments

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12651 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/1e78567964f36c62df83de1e050bd907a180b606 fix Issue 12651 -

[Issue 11511] DDoc - C variadic parameters cannot be properly documented

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11511 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a01afe0188d0b7a26cb4dcebf0b3a8b97f027c56 Fix Issue 11511 - DDoc - C

[Issue 12667] New: Enforce static constructors lexical order in a module to respect their use order

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12667 Issue ID: 12667 Summary: Enforce static constructors lexical order in a module to respect their use order Product: D Version: D2 Hardware: All OS: All

[Issue 12668] New: std.traits.functionAttributes should use the new getFunctionAttributes trait

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12668 Issue ID: 12668 Summary: std.traits.functionAttributes should use the new getFunctionAttributes trait Product: D Version: D2 Hardware: All OS: All

[Issue 12090] Make std.concurrency compatible with fibers as threads

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12090 Brad Anderson e...@gnuk.net changed: What|Removed |Added CC||e...@gnuk.net --- Comment #5

[Issue 12668] std.traits.functionAttributes should use the new getFunctionAttributes trait

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12668 --- Comment #1 from Andrej Mitrovic andrej.mitrov...@gmail.com --- https://github.com/D-Programming-Language/phobos/pull/2131 --

[Issue 12669] New: autotester: Weekly Issues resolved graph is out of bounds

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12669 Issue ID: 12669 Summary: autotester: Weekly Issues resolved graph is out of bounds Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 11011] core.time.Duration has example code which cannot compile

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11011 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/ec3317c98d712e6ef2f99a17d6f6ea129e1453ee Fix Issue 11011 -

[Issue 11011] core.time.Duration has example code which cannot compile

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11011 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 12670] New: std.algorithm.sum @nogc for simple cases

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12670 Issue ID: 12670 Summary: std.algorithm.sum @nogc for simple cases Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Keywords: rejects-valid

[Issue 12671] New: std.complex abs and ^^ @nogc

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12671 Issue ID: 12671 Summary: std.complex abs and ^^ @nogc Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1

[Issue 2540] super can not be using in alias statement

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2540 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Version|2.022 |D2

[Issue 12228] Identifiers 'this' and 'super' should not be allowed as base classes

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12228 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 11307] Make const(T).init and immutable(T).init lvalues

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11307 --- Comment #3 from Kenji Hara k.hara...@gmail.com --- (In reply to monarchdodra from comment #0) .init is a global property, that is marked as rvalue, to prevent it being modified. This is correct behavior. However, when T is const/immutable

[Issue 12647] Lazy parameter evaluation should be marked as nothrow

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12647 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 12664] @nogc for lazy arguments too

2014-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12664 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #5

<    1   2