[Issue 603] Undocumented behaviour: case and default create a scope

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=603 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 5064] std.algorithm.map, delegates and cast(dchar) = runtime crash

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5064 --- Comment #3 from Don clugd...@yahoo.com.au 2010-11-08 00:05:17 PST --- Reduced test case. Possibly related to bug 1350. struct Map(alias fun) { dchar xxx; this(int[] input) { fun(input[0]); } } void main() { auto dg =

[Issue 603] Undocumented behaviour: case and default create a scope

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=603 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 603] Undocumented behaviour: case and default create a scope

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=603 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 2385] spec says all structs are returned via hidden pointer on linux, but it uses registers

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2385 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 2648] Unnecessary struct ABI inconsistency

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2648 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 2385] spec says all structs are returned via hidden pointer on linux, but it uses registers

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2385 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 4854] Regression(2.047, Mac only) writefln Segmentation fault if no globals

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4854 --- Comment #5 from Alex Burton alex...@mac.com 2010-11-08 01:51:46 PST --- (In reply to comment #4) Can somebody please help to track this down further? Does it crash with: import std.stdio; void main() { writeln(abc, 0);} ? YES Does it

[Issue 5174] -x ^^ 0 returns -1

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5174 Lars T. Kyllingstad bugzi...@kyllingen.net changed: What|Removed |Added CC|

[Issue 5163] meaningless error message with front() applied to void[]

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5163 Lars T. Kyllingstad bugzi...@kyllingen.net changed: What|Removed |Added Keywords|rejects-valid | ---

[Issue 5182] ICE(expression.c): calling unittest from a function

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5182 --- Comment #2 from Iain Buclaw ibuc...@ubuntu.com 2010-11-08 03:14:28 PST --- Patch to make SEGV an error: --- dmd.orig/expression.c 2010-11-08 10:32:15.49244 + +++ dmd/expression.c2010-11-08 10:39:28.40444 + @@

[Issue 3934] Some untidy attributes

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3934 --- Comment #13 from bearophile_h...@eml.cc 2010-11-08 03:24:30 PST --- This is C# code: class Foo {} public class Test : Foo { public static void Main() {} } The C# compiler gives this error: prog.cs(2,14): error CS0060: Inconsistent

[Issue 4375] Require explicit braces when 'else' is ambiguous

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4375 --- Comment #15 from bearophile_h...@eml.cc 2010-11-08 04:00:05 PST --- (In reply to comment #14) Stewart's right in that this change can be effected by changing the grammar. Good, the grammar may just require braces in this case. This is a

[Issue 5187] New: Attribute hiding error or warning

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5187 Summary: Attribute hiding error or warning Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: diagnostic Severity: enhancement

[Issue 4375] Require explicit braces when 'else' is ambiguous

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4375 --- Comment #16 from bearophile_h...@eml.cc 2010-11-08 04:06:22 PST --- (In reply to comment #14) You can get into all kinds of confusion by perversely indenting the source code, this particular one isn't special and so doesn't warrant

[Issue 3934] Some untidy attributes

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3934 --- Comment #14 from bearophile_h...@eml.cc 2010-11-08 04:19:31 PST --- This bug is now fixed: auto pure foo() { return 1; } pure void bar() { foo(); } void main() {} DMD 2.050 gives the error: test.d(5): Error: pure function 'bar'

[Issue 3934] Some untidy attributes

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3934 --- Comment #15 from bearophile_h...@eml.cc 2010-11-08 04:38:03 PST --- (In reply to comment #14) This bug is now fixed: Ignore comment #14, the bug is not fixed, sorry. -- Configure issuemail:

[Issue 1714] Type specialization in IsExpression should work for templated types

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1714 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 5183] WinSock error occurs when socket is created in thread other than main

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5183 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added CC|

[Issue 4344] Sockets with multiple threads report missing/failed WSAStartup

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4344 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added CC|

[Issue 1714] Type specialization in IsExpression should work for templated types

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1714 Simen Kjaeraas simen.kja...@gmail.com changed: What|Removed |Added CC|

[Issue 5135] std.container docs: table cells with $(TDNW) not displayed

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5135 Nick Treleaven ntrel-pub...@yahoo.co.uk changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 5103] Container Documentation missing syntax

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5103 Nick Treleaven ntrel-pub...@yahoo.co.uk changed: What|Removed |Added CC|

[Issue 5103] Container Documentation missing syntax

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5103 --- Comment #2 from Nick Treleaven ntrel-pub...@yahoo.co.uk 2010-11-08 05:59:53 PST --- (Pasting info from duplicate report) The table in the main description here: http://www.digitalmars.com/d/2.0/phobos/std_container.html is missing all td

[Issue 1394] Regex does not support forgetfull matching (?:.......

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1394 Dmitry Olshansky dmitry.o...@gmail.com changed: What|Removed |Added CC|

[Issue 5188] New: alias this and compare expression generates wrong code

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5188 Summary: alias this and compare expression generates wrong code Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 3608] Allow isExpression and templates to capture template parameters and FQN of template

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3608 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||clugd...@yahoo.com.au ---

[Issue 4384] Cyclic dependency check for modules is broken

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4384 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 5053] Better error message for cyclic dependencies.

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5053 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3608] Allow isExpression and templates to capture template parameters and FQN of template

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3608 --- Comment #3 from Simen Kjaeraas simen.kja...@gmail.com 2010-11-08 07:00:15 PST --- I'm not sure what it is that confuses you. D allows constraints to be placed on template parameters not only by means of template constraints, but also

[Issue 3608] Allow isExpression and templates to capture template parameters and FQN of template

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3608 --- Comment #4 from Simen Kjaeraas simen.kja...@gmail.com 2010-11-08 07:02:15 PST --- (In reply to comment #3) template dissectTemplate( T == U!V, V... ) { This should of course be template dissectTemplate( T == U!V, alias U, V... ) { --

[Issue 5103] Container Documentation missing syntax

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5103 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 1606] Cannot insert to void[int]. void[int] should be a hash set.

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1606 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 5117] [CTFE] Member function call with rather complex this: side effects ignored

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5117 --- Comment #4 from Don clugd...@yahoo.com.au 2010-11-08 08:31:56 PST --- (In reply to comment #3) I applied the patch, and the first test case now works but the second still fails: test.d(7): Error: assert(s.value == 1) failed test.d(1):

[Issue 2651] class body declaration grammar incorrect

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2651 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4059] Incorrect C++ name mangling

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4059 --- Comment #9 from Lukasz Wrzosek luk.wrzo...@gmail.com 2010-11-08 08:50:17 PST --- Created an attachment (id=805) Diff -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail

[Issue 4059] Incorrect C++ name mangling

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4059 --- Comment #10 from Jacob Carlborg d...@me.com 2010-11-08 08:53:43 PST --- (In reply to comment #8) AFAIK it is not so general. On my Linux 32bit system long is 32bit. Maybe I was unclear but I was referring to 64bit systems. Lets try it

[Issue 1606] Cannot insert to void[int]. void[int] should be a hash set.

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1606 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 4854] Regression(2.047, Mac only) writefln Segmentation fault if no globals

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4854 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 2652] DeclDef grammar is wrong

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2652 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4854] Regression(2.047, Mac only) writefln Segmentation fault if no globals

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4854 Jacob Carlborg d...@me.com changed: What|Removed |Added CC||d...@me.com --- Comment

[Issue 4854] Regression(2.047, Mac only) writefln Segmentation fault if no globals

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4854 --- Comment #8 from Walter Bright bugzi...@digitalmars.com 2010-11-08 14:11:18 PST --- I've had a lot of problems with the 10.5 linker screwing up on empty sections. I suspect the solution is for, a module that defines main(), to output 4

[Issue 4854] Regression(2.047, Mac only) writefln Segmentation fault if no globals

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4854 nfx...@gmail.com changed: What|Removed |Added CC||nfx...@gmail.com --- Comment #9

[Issue 632] Typedef/enum promotions spec ambiguous - ultimate base type or lowest common denominator?

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=632 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 679] Spec needs allowances for copying garbage collection

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=679 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4915] auto return type escapes function purity

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4915 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||accepts-invalid, patch ---

[Issue 690] ABI not fully documented

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=690 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Issue 2572] immutable keyword not documented

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2572 --- Comment #3 from Stewart Gordon s...@iname.com 2010-11-08 18:35:51 PST --- safed.html still uses invariant. And the navigation column of the language pages still uses Const and Invariant. Other than that, it seems to be fixed now. --

[Issue 5104] Forward reference error with member pure function S.fun(S s)

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5104 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3322] Pure member functions can not call other pure member functions.

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3322 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3356] Make pure functions require immutable parameters

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3356 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3864] Dyn array allocations can be allowed in nothrow functions

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3864 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4974] Cannot have pure constructor due to impure invariant

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4974 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||clugd...@yahoo.com.au ---

[Issue 5083] module object cannot read file 'object.d'

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5083 --- Comment #1 from Andy Elvey andy.el...@paradise.net.nz 2010-11-08 22:19:38 PST --- ** Update - 9th Nov 2010 ** I've just installed dmd 2.050 (using the one-click .deb package from dmd). The install went fine. However, when I type dmd -v

[Issue 4974] Cannot have pure constructor due to impure invariant

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4974 --- Comment #3 from Jonathan M Davis jmdavisp...@gmx.com 2010-11-08 22:36:47 PST --- Well, marking an invariant as pure does seem to actually make it pure which is a definite improvement, though honestly, I rather like the idea of the compiler

[Issue 1351] Discrepancies in the language specification

2010-11-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1351 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED