[Issue 12537] Templatizing opEquals results in infinite recursion in the compiler

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12537 Jonathan M Davis changed: What|Removed |Added Blocks||9769 --

[Issue 9769] Remove opEquals from Object

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9769 Jonathan M Davis changed: What|Removed |Added Depends on||12537 --

[Issue 12651] New: TemplateArgsOf accepts nonsensical arguments

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12651 Issue ID: 12651 Summary: TemplateArgsOf accepts nonsensical arguments Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: accepts-invalid

[Issue 9148] 'pure' is broken

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9148 --- Comment #4 from timon.g...@gmx.ch --- (In reply to Xinok from comment #3) > 'S.bar' is immutable, meaning it can only access immutable members of 'S', > so the error is correct. > ... > > Immutable functions can only read immutable members, so thi

[Issue 12652] New: Non-constant hash initializers should have a special-case diagnostic

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12652 Issue ID: 12652 Summary: Non-constant hash initializers should have a special-case diagnostic Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 12650] GIT HEAD : Invalid codegen

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12650 --- Comment #1 from Kenji Hara --- (In reply to Temtaime from comment #0) > 2.065 output : 2 I think this is git-head only regression. Because the OP code cannot compile with 2.065: $ dmd -run test test.d(10): Error: function test.foo (ref const(S)

[Issue 12650] Invalid codegen on taking lvalue of instance field initializ

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12650 Kenji Hara changed: What|Removed |Added Keywords||pull, wrong-code Summary|GIT HEAD :

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

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12642 --- Comment #2 from bearophile_h...@eml.cc --- See also a comment: http://forum.dlang.org/post/ixrdixakezvtilemi...@forum.dlang.org --

[Issue 12293] forward should be moved to std.functional

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12293 Andrej Mitrovic changed: What|Removed |Added Summary|std.algorithm.forward |forward should be moved to

[Issue 12650] Invalid codegen on taking lvalue of instance field initializ

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12650 --- Comment #3 from Temtaime --- Sorry, test case is wrong. void foo()(auto ref in S s) {} s must be auto ref. So it's 2.065 reg. --

[Issue 12650] Invalid codegen on taking lvalue of instance field initializ

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12650 --- Comment #4 from Kenji Hara --- (In reply to Temtaime from comment #3) > Sorry, test case is wrong. > > void foo()(auto ref in S s) {} > > s must be auto ref. > > So it's 2.065 reg. OK I understand, and the bug will be fixed by my PR. --

[Issue 12650] Invalid codegen on taking lvalue of instance field initializ

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12650 --- Comment #5 from Kenji Hara --- (In reply to Temtaime from comment #3) > So it's 2.065 reg. Note that, the test case has worked as intended with 2.065, but doesn't work with git-head. Right? Therefore the 'regression' is introduced in git-head d

[Issue 12650] Invalid codegen on taking lvalue of instance field initializ

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12650 --- Comment #6 from Temtaime --- Yes, i missed "after" word. :) It's a git-head regression. Offtop: Thanks for your pr and contribution! --

[Issue 12653] New: Add the getFunctionAttributes trait

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12653 Issue ID: 12653 Summary: Add the getFunctionAttributes trait Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority:

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

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11694 Andrej Mitrovic changed: What|Removed |Added Depends on||12653 --

[Issue 12653] Add the getFunctionAttributes trait

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12653 Andrej Mitrovic changed: What|Removed |Added Blocks||11694 --

[Issue 12653] Add the getFunctionAttributes trait

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12653 Andrej Mitrovic changed: What|Removed |Added Keywords||pull --- Comment #1 from Andrej Mitrovic

[Issue 10046] Wrong insertion of Tuple in associative array

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

[Issue 12654] New: std.typecons.ErrorMsg

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12654 Issue ID: 12654 Summary: std.typecons.ErrorMsg Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Co

[Issue 12655] New: foldRange

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12655 Issue ID: 12655 Summary: foldRange Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: Pho

[Issue 12293] forward should be moved to std.functional

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12293 --- Comment #1 from Kenji Hara --- (In reply to Gary Willoughby from comment #0) > std.algorithm.forward is missing from the index at the top of > http://dlang.org/phobos/std_algorithm.html If the issue is the un-listing of 'forward' function, why i

[Issue 12595] dup/idup shouldn't be property functions

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12595 JR changed: What|Removed |Added CC||zor...@gmail.com --- Comment #2 from JR --- It's seman

[Issue 12656] New: Some functions in std.ascii can be @nogc

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12656 Issue ID: 12656 Summary: Some functions in std.ascii can be @nogc Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: rejects-valid Sev

[Issue 12651] TemplateArgsOf accepts nonsensical arguments

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12651 Kenji Hara changed: What|Removed |Added Keywords||pull Component|Phobos

[Issue 12293] forward should be moved to std.functional

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12293 --- Comment #2 from Andrej Mitrovic --- (In reply to Kenji Hara from comment #1) > (In reply to Gary Willoughby from comment #0) > > std.algorithm.forward is missing from the index at the top of > > http://dlang.org/phobos/std_algorithm.html > > If

[Issue 12293] forward should be moved to std.functional

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12293 --- Comment #3 from Kenji Hara --- (In reply to Andrej Mitrovic from comment #2) > No, I've changed the title. See the history here: > https://issues.dlang.org/show_activity.cgi?id=12293 If the reason comes from just your feeling, I cannot agree wit

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

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11511 Andrej Mitrovic changed: What|Removed |Added Keywords||pull CC|

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

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11511 --- Comment #1 from Andrej Mitrovic --- https://github.com/D-Programming-Language/dmd/pull/3503 --

[Issue 12641] D1: __FILE__ and __LINE__ default argument behaviour

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12641 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

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

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

[Issue 11023] DMD crashes

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11023 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 11103] w and d suffix for char literals too

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

[Issue 11177] parameterized enum can't be typed

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11177 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 12657] New: Regression (2.065): Running Phobos test-suite with -debug fails

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12657 Issue ID: 12657 Summary: Regression (2.065): Running Phobos test-suite with -debug fails Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 11253] std.algorithm.count is not nothrow

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11253 Andrej Mitrovic changed: What|Removed |Added Keywords||pull CC|

[Issue 11405] rdmd should limit it's tmp cache

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

[Issue 11103] w and d suffix for char literals too

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11103 --- Comment #5 from yebblies --- (In reply to Andrej Mitrovic from comment #4) > > Can we get this as a pull request? It looks like low-hanging fruit to me. If you feel it's worthwhile feel free to take that patch and pull-request it. I can't reme

[Issue 11405] rdmd should limit its tmp cache

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11405 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc Su

[Issue 11103] w and d suffix for char literals too

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11103 --- Comment #6 from Andrej Mitrovic --- (In reply to yebblies from comment #5) > (In reply to Andrej Mitrovic from comment #4) > > > > Can we get this as a pull request? It looks like low-hanging fruit to me. > > If you feel it's worthwhile feel fr

[Issue 11354] dmd2 wont compile properly under C++11/CLang

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11354 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 11356] isASCII for strings

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11356 Andrej Mitrovic changed: What|Removed |Added Keywords||pull CC|

[Issue 12656] Some functions in std.ascii can be @nogc

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12656 Dmitry Olshansky changed: What|Removed |Added Keywords|rejects-valid | CC|

[Issue 11367] Include paths on windows do not recursively expand env vars

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

[Issue 12656] Some functions in std.ascii can be @nogc

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

[Issue 11333] ICE: Cannot subtype 0-tuple with "alias this"

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11333 Andrej Mitrovic changed: What|Removed |Added Keywords||ice CC|

[Issue 11372] getpagesize() should be in core.memory

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

[Issue 12658] New: Emit informative diagnostic when file with a platform-incompatible extension is found

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12658 Issue ID: 12658 Summary: Emit informative diagnostic when file with a platform-incompatible extension is found Product: D Version: D2 Hardware: All OS: Windows

[Issue 11372] getpagesize() should be in core.memory

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11372 Dmitry Olshansky changed: What|Removed |Added CC||dmitry.o...@gmail.com --- Comment #2 from

[Issue 12211] Assignment expression is not an lvalue

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12211 --- Comment #5 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/2829415f71ab5d128980ac271fb0fe449f315983 Move test case for issue 1221

[Issue 12650] Invalid codegen on taking lvalue of instance field initializ

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12650 --- Comment #7 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/19af757daccd404b42c2bb9577362e0ff1441b89 fix Issue 12650 - Invalid co

[Issue 12658] Emit informative diagnostic when file with a platform-incompatible extension is found

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12658 Andrej Mitrovic changed: What|Removed |Added Keywords||pull --- Comment #1 from Andrej Mitrovic

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

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11307 --- Comment #2 from monarchdo...@gmail.com --- (In reply to Andrej Mitrovic from comment #1) > Does lvalueOf help with this? Not really. All `lvalueOf` does is provide an "external" lvalue you can test for your traits/contraints, but it doesn't actua

[Issue 12293] forward should be moved to std.functional

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12293 --- Comment #4 from Andrej Mitrovic --- (In reply to Kenji Hara from comment #3) > (In reply to Andrej Mitrovic from comment #2) > > No, I've changed the title. See the history here: > > https://issues.dlang.org/show_activity.cgi?id=12293 > > If the

[Issue 12656] Some functions in std.ascii can be @nogc

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12656 --- Comment #3 from bearophile_h...@eml.cc --- (In reply to Andrej Mitrovic from comment #2) > I wish we implemented @nogc semantics before marking everything as @nogc. > Without proper semantic cecks now, what's going to happen is we're going to > h

[Issue 12656] Some functions in std.ascii can be @nogc

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12656 --- Comment #4 from Andrej Mitrovic --- (In reply to bearophile_hugs from comment #3) > (In reply to Andrej Mitrovic from comment #2) > > > I wish we implemented @nogc semantics before marking everything as @nogc. > > Without proper semantic cecks n

[Issue 12659] New: Named mixin templates conflict

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12659 Issue ID: 12659 Summary: Named mixin templates conflict Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1

[Issue 12293] forward should be moved to std.functional

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12293 --- Comment #5 from monarchdo...@gmail.com --- (In reply to Andrej Mitrovic from comment #4) > (In reply to Kenji Hara from comment #3) > > (In reply to Andrej Mitrovic from comment #2) > > > No, I've changed the title. See the history here: > > > htt

[Issue 12293] forward should be moved to std.functional

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12293 --- Comment #6 from Andrej Mitrovic --- (In reply to monarchdodra from comment #5) > What !? > You suggested it. I just told you to go through with it. *Facepalm*. It appears I did. Sorry for this. :> --

[Issue 12293] forward is missing from std.algorithm's cheat-sheet

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12293 Andrej Mitrovic changed: What|Removed |Added URL|https://github.com/D-Progra | |mming-Language/phobos/

[Issue 12660] New: Wrong non-@nogc function invariant error

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12660 Issue ID: 12660 Summary: Wrong non-@nogc function invariant error Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Keywords: diagnostic, rejects-val

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

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12661 Issue ID: 12661 Summary: [REG2.066a] std.regex with -debug causes linker errors Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression

[Issue 12015] std.digest.sha256 too

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12015 Nick Sabalausky changed: What|Removed |Added CC||cbkbbej...@mailinator.com --- Comment #1 f