[Issue 8950] New: postblit not called on const static array initialization

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8950 Summary: postblit not called on const static array initialization Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: wrong-code

[Issue 8942] `alias qualifier type` ignores qualifier in foreach over tuple

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8942 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull, rejects-valid

[Issue 8937] import declaration statement without scope after `if` imports to a parent scope

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8937 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull, rejects-valid

[Issue 8951] New: static array of context pointer struct s fails:

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8951 Summary: static array of context pointer struct s fails: Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 8952] New: nested structs with conext pointers fail

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8952 Summary: nested structs with conext pointers fail Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 8951] static array of context pointer struct s fails:

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8951 --- Comment #1 from monarchdo...@gmail.com 2012-11-03 03:02:18 PDT --- (In reply to comment #0) Creating a static array of structs that have a context pointer is not supported: Simpler example: import std.stdio; // void main() {

[Issue 8953] New: Parser rejects qualifier after destructor i.e. `~this() qualifier { }`

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8953 Summary: Parser rejects qualifier after destructor i.e. `~this() qualifier { }` Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 8954] New: Missing line number in error message for uncollable destructor/postblit

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8954 Summary: Missing line number in error message for uncollable destructor/postblit Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 8940] Able to modify const/immutable with passing to a templated function by `ref`

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8940 --- Comment #2 from github-bugzi...@puremagic.com 2012-11-03 05:09:50 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 5314] Wrong error message: struct within immutable member and postblit function

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5314 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added CC|

[Issue 8940] Able to modify const/immutable with passing to a templated function by `ref`

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8940 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #3

[Issue 8926] post-blit copy constructor conflicts with generic opAssign

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8926 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4424] Copy constructor and templated opAssign cannot coexist

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4424 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added CC||malteskaru...@web.de

[Issue 8906] attribute inference failure with opAssign and alias this

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8906 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||rejects-valid

[Issue 8955] New: Can't have qualified field with not-qualified constructor/postblit

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8955 Summary: Can't have qualified field with not-qualified constructor/postblit Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords:

[Issue 8951] static array of context pointer struct s fails:

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8951 Maxim Fomin ma...@maxim-fomin.ru changed: What|Removed |Added CC||ma...@maxim-fomin.ru

[Issue 8952] nested structs with conext pointers fail

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8952 Maxim Fomin ma...@maxim-fomin.ru changed: What|Removed |Added CC||ma...@maxim-fomin.ru

[Issue 8956] New: Ability to break typesystem with constructor/postblit/destructor (e.g. modify immutable)

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8956 Summary: Ability to break typesystem with constructor/postblit/destructor (e.g. modify immutable) Product: D Version: D2 Platform: All OS/Version: All

[Issue 4338] Structs with non-const destructors cannot be used as const parameters

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4338 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added CC|

[Issue 4867] [GSoC] Postblit is not usable with const objects

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4867 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added CC|

[Issue 6652] foreach parameter with number range is always ref

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6652 --- Comment #24 from bearophile_h...@eml.cc 2012-11-03 07:06:12 PDT --- See also: http://forum.dlang.org/thread/znbtczbgipqqzllaf...@forum.dlang.org -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You

[Issue 8946] � any � function does not what it should do

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8946 Dmitry Olshansky dmitry.o...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8957] New: Closure not recognized when passing type with post-blit as lazy parameter

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8957 Summary: Closure not recognized when passing type with post-blit as lazy parameter Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 8955] Can't have qualified field with not-qualified constructor/postblit

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8955 --- Comment #1 from Denis Shelomovskij verylonglogin@gmail.com 2012-11-03 17:25:18 MSK --- Partial workaround: For const/immutable postblit/dtor: --- struct S { private void myPostblit() { } this(this) inout { (cast(S*)

[Issue 8956] Ability to break typesystem with constructor/postblit/destructor (e.g. modify immutable)

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8956 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added Depends on||8958

[Issue 8958] New: [RFC] Make constructors/postblits/destructors work correctly with const/immutable qualifiers

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8958 Summary: [RFC] Make constructors/postblits/destructors work correctly with const/immutable qualifiers Product: D Version: D2 Platform: All OS/Version: All Status:

[Issue 8959] New: IsExpression should support syntax which has no Identifier in all cases

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8959 Summary: IsExpression should support syntax which has no Identifier in all cases Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 8057] std.algorithm.move cannot use for nested struct

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8057 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added CC|

[Issue 8067] std.algorithm.move doesn't work for static array of elaborate struct

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8067 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added CC|

[Issue 8946] « any » function does not what it should do

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8946 --- Comment #2 from Dimitri Sabadie dimitri.saba...@gmail.com 2012-11-03 14:09:28 PDT --- (In reply to comment #1) Ever heard of slicing an array in D? Check this out: http://dlang.org/d-array-article.html Dig down in

[Issue 8057] std.algorithm.move cannot use for nested struct

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8057 --- Comment #4 from Denis Shelomovskij verylonglogin@gmail.com 2012-11-04 00:13:50 MSK --- (In reply to comment #3) S's destructor is incorrect, as you always can set `S s = S.init`... And also because of `destroy` existance. This

[Issue 8946] « any » function does not what it should do

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8946 --- Comment #3 from Dmitry Olshansky dmitry.o...@gmail.com 2012-11-03 14:18:25 PDT --- Ok, my argument wasn’t worth it I agree. But, why any would use such a function where a simple loop and a test will do it? Because find is a simple

[Issue 8946] « any » function does not what it should do

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8946 --- Comment #4 from Dimitri Sabadie dimitri.saba...@gmail.com 2012-11-03 14:35:35 PDT --- (In reply to comment #3) Ok, my argument wasn’t worth it I agree. But, why any would use such a function where a simple loop and a test will do it?

[Issue 8926] post-blit copy constructor conflicts with generic opAssign

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8926 --- Comment #2 from Malte Skarupke malteskaru...@web.de 2012-11-03 14:35:27 PDT --- Sorry for posting a duplicate, but that other bug was closed, so obviously I couldn't find it. Well the bug still exists, but I guess somebody wrote a patch

[Issue 6101] Documentation for dead modules still distributed with DMD

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6101 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 8946] « any » function does not what it should do

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8946 --- Comment #6 from Dimitri Sabadie dimitri.saba...@gmail.com 2012-11-03 16:45:23 PDT --- (In reply to comment #5) (In reply to comment #4) ... There’s a popFront() function, so why would it be the correct way to search? Reusing a «

[Issue 8946] « any » function does not what it should do

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8946 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 8946] « any » function does not what it should do

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8946 --- Comment #8 from timon.g...@gmx.ch 2012-11-03 17:38:29 PDT --- (In reply to comment #6) ... The issue is: a function that is designed to « search » for something is excepted to return a boolean, not top popFront() [...] and returns the

[Issue 8946] � any � function does not what it should do

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8946 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added CC|