[Issue 3474] PATCH: Implement opDollar for struct and class indexing operations

2011-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3474 --- Comment #11 from bearophile_h...@eml.cc 2011-11-22 00:05:51 PST --- With the recent patch this doesn't compile, is this expected? struct Foo { int x; alias x opDollar; int opIndex(int k) { return x * k; } } void main() {

[Issue 3474] PATCH: Implement opDollar for struct and class indexing operations

2011-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3474 --- Comment #12 from Don clugd...@yahoo.com.au 2011-11-22 00:30:59 PST --- (In reply to comment #11) With the recent patch this doesn't compile, is this expected? struct Foo { int x; alias x opDollar; int opIndex(int k) {

[Issue 3474] PATCH: Implement opDollar for struct and class indexing operations

2011-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3474 --- Comment #13 from Don clugd...@yahoo.com.au 2011-11-22 00:43:02 PST --- Poor error message though. All the overloaded operators have bad errors: struct S { void x() {} alias x opUnary; } void main() { S a; a = -a; }

[Issue 6986] SortedRange[x..$] fails with unidentified __dollar

2011-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6986 timon.g...@gmx.ch changed: What|Removed |Added CC||timon.g...@gmx.ch --- Comment #4

[Issue 6987] The Memory Management documentation incorrectly claims arrays are passed by reference.

2011-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6987 --- Comment #1 from Bernard Helyer blood.of.l...@gmail.com 2011-11-22 03:53:26 PST --- I would suggest something like as the contents of an array are accessed through a reference... -- Configure issuemail:

[Issue 4180] D DWARF extensions conflict with DWARF-4

2011-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4180 Trass3r mrmoc...@gmx.de changed: What|Removed |Added CC||mrmoc...@gmx.de --- Comment

[Issue 6988] New: char[] chars = ['�','�','�']; should not compile

2011-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6988 Summary: char[] chars = ['�','�','�']; should not compile Product: D Version: unspecified Platform: Other OS/Version: Mac OS X Status: NEW Severity: normal

[Issue 6988] char a = '�'; should not compile

2011-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6988 Trass3r mrmoc...@gmx.de changed: What|Removed |Added Keywords||accepts-invalid, diagnostic

[Issue 6189] register content destroyed in function prolog

2011-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6189 --- Comment #5 from d...@dawgfoto.de 2011-11-22 12:53:46 PST --- This test case doesn't reproduce the bug since xmmregs are used for floating point. Disabling fpxmmregs still reproduces the bug. -- Configure issuemail:

[Issue 6989] New: Implement toString for std.concurrency.Tid

2011-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6989 Summary: Implement toString for std.concurrency.Tid Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: enhancement Priority: P2

[Issue 6990] New: std.string.splitlines deprecation doc missing a word

2011-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6990 Summary: std.string.splitlines deprecation doc missing a word Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 6991] New: Symbol not found when using function-local imports

2011-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6991 Summary: Symbol not found when using function-local imports Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: major Priority: P2

[Issue 6992] New: Implement radix conversion for std.conv.to

2011-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6992 Summary: Implement radix conversion for std.conv.to Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: enhancement Priority: P2

[Issue 6993] New: File.byLine runs on an empty file, fails enforcement

2011-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6993 Summary: File.byLine runs on an empty file, fails enforcement Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: major Priority: P2

[Issue 6993] File.byLine runs on an empty file, fails enforcement

2011-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6993 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 6944] stdio.File.byLine can't handle an empty file

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