[Issue 6698] New: Regression(2.053): segfault with naked asm in inner function

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6698 Summary: Regression(2.053): segfault with naked asm in inner function Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: nor

[Issue 6698] Regression(2.053): segfault with naked asm in inner function

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6698 Don changed: What|Removed |Added Keywords||wrong-code Severity|normal

[Issue 6699] New: More cases of __error in error messages

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6699 Summary: More cases of __error in error messages Product: D Version: D1 & D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 6160] std.conv.to: Ignore _ to match the rest of D

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6160 Kenji Hara changed: What|Removed |Added Keywords||patch --- Comment #1 from Kenji Hara 201

[Issue 6258] std.conv.to!real("-") fetches the front of an empty array.

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6258 Kenji Hara changed: What|Removed |Added Keywords||patch --- Comment #2 from Kenji Hara 201

[Issue 6288] std.conv.to removes const/immutable when converting a class

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6288 Kenji Hara changed: What|Removed |Added Keywords||patch --- Comment #1 from Kenji Hara 201

[Issue 6695] typeof(this) does not take into account const/immutable attributes inside member functions

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6695 Steven Schveighoffer changed: What|Removed |Added CC||schvei...@yahoo.com V

[Issue 6700] New: Regression(2.053) using $ inside a slice of a tuple

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6700 Summary: Regression(2.053) using $ inside a slice of a tuple Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: regression Priority: P

[Issue 6581] Yet another dtor/postblit problem?

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6581 --- Comment #3 from Kenji Hara 2011-09-20 07:07:18 PDT --- (In reply to comment #2) > It might be more complicated then I thought, postblits of members do work. > I'd better leave the cause of problem to thouse in the know. Another variation >

[Issue 6581] Yet another dtor/postblit problem?

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6581 --- Comment #4 from Dmitry Olshansky 2011-09-20 07:37:10 PDT --- > Please note this line: > > a = A(dummy); // a(dummy) was a typo, thought it changes nothing > > This is "assignment", not initializing. > The assignment of an object t

[Issue 6581] Yet another dtor/postblit problem?

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6581 --- Comment #5 from Kenji Hara 2011-09-20 08:07:19 PDT --- (In reply to comment #4) > > Please note this line: > > > a = A(dummy); // a(dummy) was a typo, thought it changes nothing > > > > This is "assignment", not initializing. > > T

[Issue 6695] typeof(this) does not take into account const/immutable attributes inside member functions

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6695 --- Comment #2 from luka8088 2011-09-20 08:19:42 PDT --- The actual problem is: import std.stdio; immutable struct a { b b1; } struct b { /* void c () { } case 1 => Error: function b.c () is not callable using argument types (

[Issue 6695] typeof(this) does not take into account const/immutable attributes inside member functions

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6695 --- Comment #3 from Steven Schveighoffer 2011-09-20 08:47:22 PDT --- void c() const {} This should work, as mutable and const implicitly cast to immutable. Two other things (even though the above is the *right* solution to your problem): 1.

[Issue 6695] typeof(this) does not take into account const/immutable attributes inside member functions

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6695 --- Comment #4 from Steven Schveighoffer 2011-09-20 08:48:52 PDT --- (In reply to comment #3) > void c() const {} > > This should work, as mutable and const implicitly cast to immutable. Oh my, that was completely off. Should have read: Th

[Issue 6695] typeof(this) does not take into account const/immutable attributes inside member functions

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6695 --- Comment #5 from luka8088 2011-09-20 09:13:20 PDT --- (In reply to comment #3) > void c() const {} > > This should work, as mutable and const implicitly cast to immutable. > yes, it works, thx ! > Declaring an immutable struct is the sam

[Issue 6695] typeof(this) does not take into account const/immutable attributes inside member functions

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6695 --- Comment #6 from Steven Schveighoffer 2011-09-20 10:26:54 PDT --- (In reply to comment #5) > so this is a bug or not ... ? > > // Error: function b.c () is not callable using argument types () immutable > > import std.stdio; > > immutabl

[Issue 6695] typeof(this) does not take into account const/immutable attributes inside member functions

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6695 --- Comment #7 from luka8088 2011-09-20 10:59:37 PDT --- (In reply to comment #6) > (In reply to comment #5) > > so this is a bug or not ... ? > > > > // Error: function b.c () is not callable using argument types () immutable > > > > import

[Issue 6701] New: template specialization resolution failure

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6701 Summary: template specialization resolution failure Product: D Version: D2 Platform: Other OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal

[Issue 6702] New: .length for Associative Array is not @safe

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6702 Summary: .length for Associative Array is not @safe Product: D Version: D2 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: P2 Compon

[Issue 6695] typeof(this) does not take into account const/immutable attributes inside member functions

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6695 --- Comment #8 from Steven Schveighoffer 2011-09-20 11:42:19 PDT --- (In reply to comment #7) > I agree that maybe this is not a bug, but I don't agree with the explanation > ... > > Documentation says "Both immutable and const are transitiv

[Issue 6695] typeof(this) does not take into account const/immutable attributes inside member functions

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6695 --- Comment #9 from luka8088 2011-09-20 12:16:01 PDT --- (In reply to comment #8) > (In reply to comment #7) > > I agree that maybe this is not a bug, but I don't agree with the explanation > > ... > > > > Documentation says "Both immutable a

[Issue 6702] .length for Associative Array is not @safe

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6702 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 6357] Almost all AA methods are not pure/nothrow/@safe

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6357 Kenji Hara changed: What|Removed |Added CC||htven...@gmail.com --- Comment #2 from Ke

[Issue 6581] Yet another dtor/postblit problem?

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6581 --- Comment #6 from Dmitry Olshansky 2011-09-20 13:01:11 PDT --- > > I should point out that move == swap & destroy, iff left side of assigment > > _was_ initialized. A constructor may be called on chunk of uninitialized > > memory > > e.g. i

[Issue 6675] Regression(2.054) ICE(glue.c) template parameter deduction with errors gagged

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6675 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 5932] Internal error: s2ir.c 339

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5932 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 6599] ICE(constfold.c) On use of invalid expression as a compile-time initializer

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6599 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6581] Yet another dtor/postblit problem?

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6581 --- Comment #7 from Kenji Hara 2011-09-20 13:39:38 PDT --- (In reply to comment #6) > Example: > ubyte[B.sizeof] mem=void; > emplace!B(mem.ptr);//Does this call to B's constructor call A's dtor on some > kind of trash then? void main() { u

[Issue 6581] Yet another dtor/postblit problem?

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6581 --- Comment #8 from Kenji Hara 2011-09-20 13:50:24 PDT --- Sorry, that was imcomplete. (In reply to comment #6) > Example: > ubyte[B.sizeof] mem=void; > emplace!B(mem.ptr);//Does this call to B's constructor call A's dtor on some > kind of tra

[Issue 6357] Almost all AA methods are not pure/nothrow/@safe

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6357 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Com

[Issue 6581] Yet another dtor/postblit problem?

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6581 Dmitry Olshansky changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 6656] static alias this broken in 2.055

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6656 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 4269] Regression(2.031): invalid type accepted if evaluated while errors are gagged

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4269 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6703] New: Unexpected OPTLINK Termination at EIP=0042785B

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6703 Summary: Unexpected OPTLINK Termination at EIP=0042785B Product: D Version: D1 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 4269] Regression(2.031): invalid type accepted if evaluated while errors are gagged

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4269 yebblies changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Issue 6691] static constructor inside template cannot initialize immutable template members

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6691 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6704] New: CommaExpression as an IfCondition

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6704 Summary: CommaExpression as an IfCondition Product: D Version: D2 Platform: Other OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Pri

[Issue 4014] CodeView debug type info not linked in from library

2011-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4014 --- Comment #4 from Rainer Schuetze 2011-09-20 23:44:42 PDT --- This is a better patch: https://github.com/D-Programming-Language/dmd/pull/398 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are rec