[Issue 6632] toUTFz sometimes does not work with const parameters

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6632 --- Comment #10 from Jonathan M Davis 2012-01-04 21:56:09 PST --- LOL. My fix actually hasn't been checked in yet. The changes to IFTI made it completely unnecessary (and is why it works in 2.057). In fact, I just removed my fix from the pull

[Issue 7228] New: MOVDQ2Q instruction is emitted with swapped register indices

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7228 Summary: MOVDQ2Q instruction is emitted with swapped register indices Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: norma

[Issue 7214] Change of template specialization resolution

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7214 d...@dawgfoto.de changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 7185] [CTFE] ICE on changing char array length

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7185 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 7194] [CTFE] Incorrect behaviour with pointers as local struct variable fields

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7194 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6933] Segfault(declaration.c) using struct with destructor in CTFE

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6933 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 7187] Regression(head 12d62ca5): [CTFE] ICE on slicing

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7187 Walter Bright changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Issue 6157] to!string should work for various pointer types

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6157 --- Comment #2 from Andrej Mitrovic 2012-01-04 17:00:31 PST --- Btw, several people have asked for to!(char*)/to!(wchar*)/to!(dchar*) to work, so I've added a simple template overload that forwards to toUTFz. Personally I think this is a good

[Issue 6157] to!string should work for various pointer types

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6157 --- Comment #1 from Andrej Mitrovic 2012-01-04 16:59:06 PST --- Created an attachment (id=1067) utf Added implementation to be added to std.conv. These have to be further verified. -- Configure issuemail: http://d.puremagic.com/issues/userp

[Issue 5849] std.random.dice is better as a range

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5849 bearophile_h...@eml.cc changed: What|Removed |Added Attachment #1060|0 |1 is obsolete|

[Issue 4547] D2 Language Docs: http://www.digitalmars.com/d/2.0/property.html

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4547 Andrej Mitrovic changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Issue 7218] Nested function with contract is rejected

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7218 Kenji Hara changed: What|Removed |Added Keywords||patch --- Comment #1 from Kenji Hara 201

[Issue 7218] New: Nested function with contract is rejected

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7218 Summary: Nested function with contract is rejected Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal

[Issue 4736] http://www.digitalmars.com/d/2.0/hash-map.html

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4736 --- Comment #1 from Andrej Mitrovic 2012-01-04 07:41:52 PST --- https://github.com/D-Programming-Language/d-programming-language.org/pull/51 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiv

[Issue 4556] Wrong docs for nested functions

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4556 Andrej Mitrovic changed: What|Removed |Added Summary|Misbehaving nested function |Wrong docs for nested

[Issue 4562] D2 Language Docs: http://www.digitalmars.com/d/2.0/dbc.html

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4562 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 5460] enum of struct not calling constructor

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5460 --- Comment #2 from Andrej Mitrovic 2012-01-04 07:33:27 PST --- The following has now changed into a CT error: enum Sizes : Size { Minimum = Size(10) } struct Size { int store; } void main() { } test.d(4): Error: Integer constant ex

[Issue 5358] std.functional: binaryReverseArgs & toDelegate missing from documentation

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5358 --- Comment #1 from Andrej Mitrovic 2012-01-04 07:36:03 PST --- toDelegate is now documented, but not binaryReverseArgs. I think it's just missing an extra asterisk in its comment to make it ddoc'ed /* => /** -- Configure issuemail: http://d

[Issue 5910] Stride members' documentation comments are wrong

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5910 Andrej Mitrovic changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Issue 6021] std.net.isemail missing from dpl.org

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6021 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 6020] Dead link: http://d-programming-language.org/32-64-portability.html

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6020 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 5913] std.range.put broken sentence

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5913 Andrej Mitrovic changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Issue 6302] Function imports in debug blocks crashes compiler

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6302 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 6175] String corruption when passing static char arrays to std.conv

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6175 --- Comment #2 from Andrej Mitrovic 2012-01-04 07:17:05 PST --- This has now changed to a template error: import std.conv; void main() { char[9] statCArr = "blablabla"; auto res1 = to!(char[])(statCArr); } D:\DMD\dmd2\windows\bin\..

[Issue 6364] Static struct's destructor called on exit of function

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6364 --- Comment #1 from Andrej Mitrovic 2012-01-04 07:07:56 PST --- (In reply to comment #0) To clarify: It should print 1 both times. I think the dtor should run on app exit, since it's a static variable. -- Configure issuemail: http://d.purema

[Issue 6456] toString fails with alias this when more than one field present

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6456 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 7101] Downloads & Tools doesn't expand

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7101 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 6441] Downloads & Tools section is impossible to reach

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6441 --- Comment #1 from Andrej Mitrovic 2012-01-04 07:03:16 PST --- *** Issue 7101 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mai

[Issue 6632] toUTFz sometimes does not work with const parameters

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6632 Andrej Mitrovic changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Issue 6710] Can't use .sizeof in pragma(msg) call

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6710 --- Comment #1 from Andrej Mitrovic 2012-01-04 06:56:49 PST --- Workaround: Put the pragma call outside of the structure definition. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this

[Issue 6732] ICE: __traits(compiles) fails on valid expression

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6732 Andrej Mitrovic changed: What|Removed |Added Keywords|rejects-valid | Summary|__traits(compiles

[Issue 6821] core.exception.OutOfMemoryError on dtor field test of class-embedded struct

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6821 Vladimir Panteleev changed: What|Removed |Added CC||thecybersha...@gmail.com --- Comm

[Issue 6768] Problem with init of struct members in presence of templated opAssign

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6768 --- Comment #1 from Andrej Mitrovic 2012-01-04 06:49:54 PST --- In 2.057 all calls to the `dg` delegate print garbage values if the templated opAssign was used: Point: Point(4202703, 4931824, void delegate()) Point: Point(1244728, 4202612, vo

[Issue 6605] Add switch to enable setting library search paths via command line

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6605 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 6821] core.exception.OutOfMemoryError on dtor field test of class-embedded struct

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6821 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 7035] "Please use instead" broken documentation

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7035 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 6996] std.typecons calls writeln without importing std.stdio

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6996 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 7117] Regression(2.057, 1.072): out contract for class member functions are broken

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7117 --- Comment #3 from Don 2012-01-04 05:54:59 PST --- (In reply to comment #2) > (In reply to comment #0) > > I tried to do a git bisect to come up with the exact commit that broke this > > but > > it was impossible because there are commits tha

[Issue 6205] Strongly-pure nothrow functions with ignored return value are entirely stripped even if it contains a failing 'assert'.

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6205 Kenji Hara changed: What|Removed |Added Keywords||patch --- Comment #5 from Kenji Hara 201

[Issue 4563] [module system] Error messages for missing package or missing name

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4563 --- Comment #4 from bearophile_h...@eml.cc 2012-01-04 03:11:27 PST --- The situation is not improved. Wrong D2 code: import core.stdc.stdlib: puts; import std.stdio: reverse; void main() { puts("hello"); int[] a = [1, 2, 3]; rever

[Issue 6205] Strongly-pure nothrow functions with ignored return value are entirely stripped even if it contains a failing 'assert'.

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6205 --- Comment #4 from Kenji Hara 2012-01-04 03:07:56 PST --- I think this is 'too early optimization' bug. Mechanism: 1. The calling of a function that is strong-pure and nothrow is 'no side effect'. Then dmd marks it in IR level. https:/

[Issue 7117] Regression(2.057, 1.072): out contract for class member functions are broken

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7117 --- Comment #6 from Leandro Lucarella 2012-01-04 14:38:08 PST --- (In reply to comment #5) > From git bisect's man page: > > > The special exit code 125 should be used when the current source code > > cannot be tested. If the script exits wi

[Issue 7227] New: [] syntax for empty associative array too?

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7227 Summary: [] syntax for empty associative array too? Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: minor

[Issue 7220] New: Bad initialization when using mixin to generate a static field in a -lib'rary

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7220 Summary: Bad initialization when using mixin to generate a static field in a -lib'rary Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW

[Issue 4560] D2 Language Docs: http://www.digitalmars.com/d/2.0/const3.html

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4560 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 7219] New: valid overrides with type qualifiers rejected

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7219 Summary: valid overrides with type qualifiers rejected Product: D Version: D2 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: P2 Com

[Issue 4549] D2 Language Docs: http://www.digitalmars.com/d/2.0/expression.html

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4549 --- Comment #4 from Andrej Mitrovic 2012-01-04 09:33:14 PST --- https://github.com/D-Programming-Language/d-programming-language.org/pull/52 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiv

[Issue 7225] New: immutable argument by const ref

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7225 Summary: immutable argument by const ref Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Pri

[Issue 7226] New: Refused pure nothrow ctor syntax

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7226 Summary: Refused pure nothrow ctor syntax Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Pr

[Issue 7224] New: Throwing precondition of nothrow function

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7224 Summary: Throwing precondition of nothrow function Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: accepts-invalid Severity: normal

[Issue 7117] Regression(2.057, 1.072): out contract for class member functions are broken

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7117 --- Comment #5 from Vladimir Panteleev 2012-01-04 14:03:39 PST --- >From git bisect's man page: > The special exit code 125 should be used when the current source code cannot > be tested. If the script exits with this code, the current revis

[Issue 7223] New: Access violation when using rmdirRecurse on folder without modify permissions

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7223 Summary: Access violation when using rmdirRecurse on folder without modify permissions Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW

[Issue 7216] New: [CTFE] Can't call struct member function using pointer field

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7216 Summary: [CTFE] Can't call struct member function using pointer field Product: D Version: D1 & D2 Platform: Other OS/Version: Windows Status: NEW Keywords

[Issue 7217] New: Regression(head 7c839960): [CTFE] ICE on accesing struct array field

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7217 Summary: Regression(head 7c839960): [CTFE] ICE on accesing struct array field Product: D Version: D1 & D2 Platform: Other OS/Version: Windows Status: NEW

[Issue 7176] Lambda => syntax for function and methods too

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7176 Jacob Carlborg changed: What|Removed |Added CC||d...@me.com --- Comment #7 from Jacob