[Issue 8233] New: std.array.array fails to compile with ranges of immutable elements which have a length property

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8233 Summary: std.array.array fails to compile with ranges of immutable elements which have a length property Product: D Version: unspecified Platform: All OS/Version: All

[Issue 8229] string literals are not zero-terminated during CTFE

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8229 --- Comment #3 from Don clugd...@yahoo.com.au 2012-06-13 01:44:42 PDT --- (In reply to comment #2) (In reply to comment #1) This behaviour is intentional. Pointer operations are strictly checked in CTFE. It's the same as doing int

[Issue 8233] std.array.array fails to compile with ranges of immutable elements which have a length property

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8233 --- Comment #1 from Jonathan M Davis jmdavisp...@gmx.com 2012-06-13 01:50:59 PDT --- https://github.com/D-Programming-Language/phobos/pull/630 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are

[Issue 4364] ICE(class.c) compiling a struct def named 'Object' followed by a class definition

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4364 --- Comment #5 from Patrick Byrne pjlby...@gmail.com 2012-06-13 02:35:09 PDT --- Thanks! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 7485] Incorrect BigInt Error Message

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7485 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7081] array slice assignment should check for opAssign

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7081 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||clugd...@yahoo.com.au

[Issue 8234] New: symbols used in CTFE affect the function literal type

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8234 Summary: symbols used in CTFE affect the function literal type Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 8235] New: IsUserAnAdmin not in shell32.lib

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8235 Summary: IsUserAnAdmin not in shell32.lib Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component:

[Issue 8062] UFCS and operator overloading

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8062 --- Comment #3 from Dmitry Olshansky dmitry.o...@gmail.com 2012-06-13 12:22:05 PDT --- (In reply to comment #2) (In reply to comment #1) As defined t shouldn't: UFCS presently only does go from fn(a,b, ...) - a.fn(b, ...); way.

[Issue 8062] UFCS and operator overloading

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8062 --- Comment #4 from timon.g...@gmx.ch 2012-06-13 12:37:21 PDT --- (In reply to comment #3) My bad, I actually meant it a.fn --- fn(a,...) way. Which brings us to the point - request is Invalid then? I don't think it is invalid. a + b -

[Issue 8062] UFCS and operator overloading

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8062 --- Comment #5 from jens.k.muel...@gmx.de 2012-06-13 14:05:28 PDT --- (In reply to comment #4) (In reply to comment #3) My bad, I actually meant it a.fn --- fn(a,...) way. Which brings us to the point - request is Invalid then? I

[Issue 8106] func.stringof with default args

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8106 --- Comment #4 from Walter Bright bugzi...@digitalmars.com 2012-06-13 14:55:42 PDT --- I have a patch for this specific case, but it's a kludge, not a general solution. The problem is that the context of the typeof(x) is not the context of

[Issue 8106] func.stringof with default args

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8106 --- Comment #5 from Manu turkey...@gmail.com 2012-06-13 15:50:11 PDT --- (In reply to comment #4) Can you post an example of why you need this? Perhaps there's another way. It's difficult for me to extract a concrete example (a very large

[Issue 8106] func.stringof with default args

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8106 --- Comment #6 from Walter Bright bugzi...@digitalmars.com 2012-06-13 20:05:42 PDT --- Ok, I suggest abandoning this .stringof proposal as unworkable. Instead, how about a traits that gives the default arguments as an expression tuple? Also,

[Issue 8106] func.stringof with default args

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8106 --- Comment #7 from Walter Bright bugzi...@digitalmars.com 2012-06-13 20:50:27 PDT --- Suppose I made this work: - template ParameterTypeTuple(alias foo) { static if (is(typeof(foo) P == function)) alias P

[Issue 8233] std.array.array fails to compile with ranges of immutable elements which have a length property

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8233 --- Comment #2 from github-bugzi...@puremagic.com 2012-06-13 21:16:55 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 8233] std.array.array fails to compile with ranges of immutable elements which have a length property

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8233 --- Comment #3 from github-bugzi...@puremagic.com 2012-06-13 21:20:10 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 8106] func.stringof with default args

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8106 --- Comment #8 from Walter Bright bugzi...@digitalmars.com 2012-06-13 22:23:21 PDT --- Note that the default argument can be retrieved using something like: PT[1] getDefault(PT a) { return a[1]; } -- Configure issuemail:

[Issue 3150] cast from dynamic array to ulong is allowed

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3150 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3150] cast from dynamic array to ulong is allowed

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3150 --- Comment #8 from github-bugzi...@puremagic.com 2012-06-13 22:26:50 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 8106] func.stringof with default args

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8106 --- Comment #9 from Walter Bright bugzi...@digitalmars.com 2012-06-13 22:35:21 PDT --- Or better: PT[1] getDefault(PT[1..2] a) { return a[0]; } An example: - import std.stdio; template ParameterTypeTuple(alias foo) {

[Issue 8106] func.stringof with default args

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8106 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8221] typeof(null) rejected as return type for covariant overrides

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8221 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 8221] typeof(null) rejected as return type for covariant overrides

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8221 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Severity|normal |enhancement

[Issue 8220] invalid function call not detected during semantic analysis

2012-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8220 --- Comment #2 from github-bugzi...@puremagic.com 2012-06-13 22:59:19 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd